aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/api')
-rw-r--r--files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html2
-rw-r--r--files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html2
-rw-r--r--files/zh-tw/web/api/xmlhttprequest/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html b/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
index 86e41e3476..65e2a5055d 100644
--- a/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
+++ b/files/zh-tw/web/api/canvas_api/tutorial/applying_styles_and_colors/index.html
@@ -610,7 +610,7 @@ var ptrn = ctx.createPattern(img,'repeat');
<pre class="brush: js">draw();</pre>
-<p>結果如下<span style="display: none;"> </span>:</p>
+<p>結果如下<span class="hidden"> </span>:</p>
</div>
<p>{{EmbedLiveSample("A_createPattern_example", "180", "180", "https://mdn.mozillademos.org/files/222/Canvas_createpattern.png")}}</p>
diff --git a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
index e5792ffade..c6f1baaaa8 100644
--- a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
+++ b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
@@ -60,7 +60,7 @@ ctx.clearRect(10, 10, 100, 100);
<p>Edit the code below and see your changes update live in the canvas:</p>
-<div style="display: none;">
+<div class="hidden">
<h6 id="Playable_code">Playable code</h6>
<pre class="brush: html">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;
diff --git a/files/zh-tw/web/api/xmlhttprequest/index.html b/files/zh-tw/web/api/xmlhttprequest/index.html
index 3258579e62..35d87072c6 100644
--- a/files/zh-tw/web/api/xmlhttprequest/index.html
+++ b/files/zh-tw/web/api/xmlhttprequest/index.html
@@ -111,7 +111,7 @@ translation_of: Web/API/XMLHttpRequest
<dd>初始化一個請求。此方法用於 JavaScript 中;若要在 native code 中初始化請求,請以 <a class="internal" href="/zh-TW/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIXMLHttpRequest#openRequest()"><code>openRequest()</code></a> 作為替代。</dd>
<dt>{{domxref("XMLHttpRequest.overrideMimeType()")}}</dt>
<dd>覆寫伺服器回傳的 MIME type。</dd>
- <dt>{{domxref("XMLHttpRequest.send()")}}<span style="display: none;"> </span></dt>
+ <dt>{{domxref("XMLHttpRequest.send()")}}<span class="hidden"> </span></dt>
<dd>發送請求。如果為非同步請求(預設值),此方法將在發出請求後便立即回傳(return)。</dd>
<dt>{{domxref("XMLHttpRequest.setRequestHeader()")}}</dt>
<dd>設定 HTTP 請求標頭(request header)值。<code>setRequestHeader()</code> 可被呼叫的時間點必須於 <a href="#open"><code>open()</code></a> 之後、在 <code>send()</code> 之前。</dd>