diff options
Diffstat (limited to 'files/zh-cn/web/api')
63 files changed, 75 insertions, 78 deletions
diff --git a/files/zh-cn/web/api/analysernode/index.html b/files/zh-cn/web/api/analysernode/index.html index 00b6ff8de8..69149d77f2 100644 --- a/files/zh-cn/web/api/analysernode/index.html +++ b/files/zh-cn/web/api/analysernode/index.html @@ -54,7 +54,7 @@ translation_of: Web/API/AnalyserNode <p><em>继承属性自 </em><em>{{domxref("AudioNode")}}。</em></p> <dl> - <dt><span id="cke_bm_91S" style="display: none;"> </span>{{domxref("AnalyserNode.fftSize")}}</dt> + <dt><span id="cke_bm_91S" class="hidden"> </span>{{domxref("AnalyserNode.fftSize")}}</dt> <dd>一个无符号长整形(unsigned long)的值,代表了用于计算频域信号时使用的 FFT (<a href="https://zh.wikipedia.org/zh-cn/%E5%BF%AB%E9%80%9F%E5%82%85%E9%87%8C%E5%8F%B6%E5%8F%98%E6%8D%A2">快速傅里叶变换</a>) 的窗口大小。</dd> <dt>{{domxref("AnalyserNode.frequencyBinCount")}} {{readonlyInline}}</dt> <dd>一个无符号长整形(unsigned long)的值, 值为fftSize的一半。这通常等于将要用于可视化的数据值的数量。</dd> diff --git a/files/zh-cn/web/api/animationevent/animationevent/index.html b/files/zh-cn/web/api/animationevent/animationevent/index.html index 071cb39e9e..7df7872946 100644 --- a/files/zh-cn/web/api/animationevent/animationevent/index.html +++ b/files/zh-cn/web/api/animationevent/animationevent/index.html @@ -125,4 +125,4 @@ translation_of: Web/API/AnimationEvent/AnimationEvent <li>The {{domxref("AnimationEvent")}} interface it belongs to.</li> </ul> -<div id="sVim-command" style="display: none;">-- NORMAL --</div> +<div id="sVim-command" class="hidden">-- NORMAL --</div> diff --git a/files/zh-cn/web/api/body/arraybuffer/index.html b/files/zh-cn/web/api/body/arraybuffer/index.html index 3cf99f2e58..de711b01b9 100644 --- a/files/zh-cn/web/api/body/arraybuffer/index.html +++ b/files/zh-cn/web/api/body/arraybuffer/index.html @@ -139,4 +139,4 @@ play.onclick = function() { <li><a href="/en-US/docs/Web/HTTP">HTTP</a></li> </ul> -<div id="sVim-command" style="display: none;">-- NORMAL --</div> +<div id="sVim-command" class="hidden">-- NORMAL --</div> diff --git a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html index 1fd9a8152f..3d8de40534 100644 --- a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html +++ b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html @@ -45,7 +45,7 @@ ctx.fillRect(10,10,200,100); <p>编辑以下代码可看到画布变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/addhitregion/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/addhitregion/index.html index 1b1d7fc589..aa6c90b2ed 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/addhitregion/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/addhitregion/index.html @@ -77,7 +77,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看canvas的变化(如果你没有看到全部的效果,请查看浏览器兼容性列表。如果你当前的浏览器支持点击区域,你需要激活偏好设置) 。</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html index 05b8ea3b62..5201304b84 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html @@ -52,7 +52,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code" name="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> @@ -98,7 +98,7 @@ window.addEventListener("load", drawCanvas); <p>在此例中,使用 arc() 尽可能地绘制不同的形状。</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="HTML_2">HTML</h6> <pre class="brush: html"><canvas id="canvas" width="150" height="200"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html index 8c8e2dc5ff..0754d05560 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html @@ -75,7 +75,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush: html"><canvas id="canvas" class="playable-canvas" height="200" width="400"></canvas> <div class="playable-buttons"> <input id="edit" type="button" value="Edit" /> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html index 427a3a062d..31b8890dd2 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html @@ -45,7 +45,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html index 5a66c1f6e8..bbcf56f458 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html @@ -74,7 +74,7 @@ ctx.fillRect(150, 70, 10, 10);</pre> <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> <div class="playable-buttons"> <input id="edit" type="button" value="Edit" /> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html index fd68c7e3b6..03fbe7848a 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html @@ -56,7 +56,7 @@ ctx.fillRect(0, 0, 100,100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html index 8446adbac8..cc8d70d2cf 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html @@ -38,7 +38,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html index d7e9536d37..4df64d94c4 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html @@ -70,7 +70,7 @@ ctx.fillRect(20, 20, 200, 100);</pre> <h4 id="结果">结果</h4> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/createradialgradient/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/createradialgradient/index.html index df820f2cbb..b2121ce17c 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/createradialgradient/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/createradialgradient/index.html @@ -61,7 +61,7 @@ ctx.fillRect(0,0,200,200); <p>修改下面的代码并在线查看 canvas的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html index 1dc87fb0b2..ec92b0754d 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html @@ -50,7 +50,7 @@ ctx.drawFocusIfNeeded(button); <p>修改下面的代码并在线查看 canvas的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/drawimage/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/drawimage/index.html index b0d477e9e8..dc126e4ad4 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/drawimage/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/drawimage/index.html @@ -66,7 +66,6 @@ void <var><em>ctx</em>.drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, <h4 id="HTML">HTML</h4> <pre class="brush: html"><canvas id="canvas"></canvas> -<div style="display:none;"> <img id="source" src="https://mdn.mozillademos.org/files/5397/rhino.jpg" width="300" height="227"> </div> @@ -87,7 +86,6 @@ ctx.drawImage(image, 33, 71, 104, 124, 21, 20, 87, 104); <h3 id="HTML_2">HTML</h3> <pre class="brush: html"><canvas id="canvas"></canvas> -<div style="display:none;"> <img id="source" src="https://mdn.mozillademos.org/files/5397/rhino.jpg" width="300" height="227"> @@ -109,11 +107,10 @@ image.addEventListener('load', e => { <h4 id="结果">结果</h4> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> -<div style="display:none;"> <img id="source" src="https://mdn.mozillademos.org/files/5397/rhino.jpg" width="300" height="227"> </div> <div class="playable-buttons"> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ellipse/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ellipse/index.html index d46c4acb87..d39d8dcc7b 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/ellipse/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ellipse/index.html @@ -63,7 +63,7 @@ ctx.stroke();</code></pre> <p>修改下面的代码并在线查看 canvas 的变化(如果椭圆没有绘制,请在兼容性列表中检查你的浏览器是否支持):</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code" name="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html index a7dadcff17..a117a7eabd 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html @@ -50,7 +50,7 @@ ctx.fill(); <p>修改下面的代码并在线查看 canvas 变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html index ddd97227f0..81cff04162 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html @@ -51,7 +51,7 @@ ctx.fillRect(20, 10, 150, 100);</pre> <h4 id="结果">结果</h4> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html index 6cbff0639b..bfb0e5f33b 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html @@ -52,7 +52,7 @@ ctx.fillText("Hello world", 50, 100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/getlinedash/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/getlinedash/index.html index f96faf7401..5286c3e2d5 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/getlinedash/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/getlinedash/index.html @@ -46,7 +46,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html index bd95a9038a..aa8ad34a6e 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html @@ -65,7 +65,7 @@ console.log(ctx.isPointInPath(10, 10)); // true <p>修改下面的代码, 在线查看 canvas的变化并在你的 <a href="/en-US/docs/Tools/Browser_Console">控制台</a> 中观察日志信息:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html index 8732970d18..b0c116ee37 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html @@ -58,7 +58,7 @@ console.log(ctx.isPointInStroke(10, 10)); // true <p>修改线面的代码,在线查看 canvas 的变化,并在你的<a href="/en-US/docs/Tools/Browser_Console">控制台</a>查看日至信息:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/linedashoffset/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/linedashoffset/index.html index 44b8c1ad65..aa8f1c33ec 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/linedashoffset/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/linedashoffset/index.html @@ -47,7 +47,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html index f171b170fd..5365698d00 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html @@ -45,7 +45,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html index eb99c51967..772c0ae0c5 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html @@ -45,7 +45,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html index 2719f7901c..3bdb9fab21 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html @@ -92,7 +92,7 @@ putImageData(ctx, imagedata, 150, 0, 50, 50, 25, 25); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/quadraticcurveto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/quadraticcurveto/index.html index d1794c5043..4082363eb5 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/quadraticcurveto/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/quadraticcurveto/index.html @@ -142,7 +142,7 @@ ctx.stroke(); </pre> </div> -<div style="display: none;"> +<div class="hidden"> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> <div class="playable-buttons"> <input id="edit" type="button" value="Edit" /> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html index 4053d0f387..f34e1b54ad 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html @@ -46,7 +46,7 @@ ctx.fill(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html index 47a91eacbf..5c9cd7bd24 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html @@ -37,7 +37,7 @@ ctx.resetTransform(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html index c35d6ce849..f807b5b521 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html @@ -40,7 +40,7 @@ ctx.fillRect(150, 75, 100, 100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html index f6ae42b495..5d92a9a718 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html @@ -54,7 +54,7 @@ ctx.setTransform(1, 0, 0, 1, 0, 0); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html index 167c40fd19..3560f8a771 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html @@ -49,7 +49,7 @@ ctx.fillRect(150, 75, 100, 100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/scale/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/scale/index.html index db95fca214..a67cfa6985 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/scale/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/scale/index.html @@ -117,17 +117,17 @@ ctx.setTransform(1, 0, 0, 1, 0, 0); </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html index 222fb61aa0..b2edfdbe08 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html @@ -43,7 +43,7 @@ ctx.scrollPathIntoView(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/setlinedash/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/setlinedash/index.html index 710d8f9e53..16a66f36e2 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/setlinedash/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/setlinedash/index.html @@ -68,7 +68,7 @@ ctx.stroke(); <h4 id="结果">结果</h4> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/settransform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/settransform/index.html index 23302386e7..0d47fe8d4c 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/settransform/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/settransform/index.html @@ -57,7 +57,7 @@ ctx.fillRect(0,0,100,100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html notranslate"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html index 0eaef6e3af..e7dca45c16 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html @@ -41,7 +41,7 @@ ctx.stroke(); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html index 404998a247..8161bda3f2 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html @@ -52,7 +52,7 @@ ctx.strokeText("Hello world", 50, 100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html index f56c5a48ff..ac274f9891 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html @@ -55,7 +55,7 @@ ctx.fillRect(0,0,100,100); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html index f4dd697342..a466b1d181 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html @@ -50,7 +50,7 @@ ctx.setTransform(1, 0, 0, 1, 0, 0); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/channel_messaging_api/index.html b/files/zh-cn/web/api/channel_messaging_api/index.html index 6e7591d531..936886c81a 100644 --- a/files/zh-cn/web/api/channel_messaging_api/index.html +++ b/files/zh-cn/web/api/channel_messaging_api/index.html @@ -85,5 +85,5 @@ translation_of: Web/API/Channel_Messaging_API </ul> <p> - <audio style="display: none;"> </audio> + <audio class="hidden"> </audio> </p> diff --git a/files/zh-cn/web/api/css/index.html b/files/zh-cn/web/api/css/index.html index 4a835d0bc8..460f39dfc4 100644 --- a/files/zh-cn/web/api/css/index.html +++ b/files/zh-cn/web/api/css/index.html @@ -69,7 +69,7 @@ translation_of: Web/API/CSS </tbody> </table> -<p><span style="display: none;"> </span></p> +<p><span class="hidden"> </span></p> <dl> </dl> diff --git a/files/zh-cn/web/api/cssstylesheet/insertrule/index.html b/files/zh-cn/web/api/cssstylesheet/insertrule/index.html index a46b91f5cc..4b89a1584e 100644 --- a/files/zh-cn/web/api/cssstylesheet/insertrule/index.html +++ b/files/zh-cn/web/api/cssstylesheet/insertrule/index.html @@ -202,5 +202,5 @@ function addStylesheetRules (decls) { </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/document/adoptnode/index.html b/files/zh-cn/web/api/document/adoptnode/index.html index 1f502e20a6..74d824966f 100644 --- a/files/zh-cn/web/api/document/adoptnode/index.html +++ b/files/zh-cn/web/api/document/adoptnode/index.html @@ -17,8 +17,8 @@ translation_of: Web/API/Document/adoptNode </pre> <dl> - <dt><code><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span>node</code></dt> - <dd>导入当前文档的新节点. 新节点的 <code><a href="https://developer.mozilla.org/zh-cn/DOM/Node.parentNode" title="zh-cn/DOM/Node.parentNode">parentNode</a></code> 是 <code>null</code>, 因为它还没有插入当前文档的文档树中,属于游离状态.<span style="display: none;"> </span><span style="display: none;"> </span></dd> + <dt><code><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span>node</code></dt> + <dd>导入当前文档的新节点. 新节点的 <code><a href="https://developer.mozilla.org/zh-cn/DOM/Node.parentNode" title="zh-cn/DOM/Node.parentNode">parentNode</a></code> 是 <code>null</code>, 因为它还没有插入当前文档的文档树中,属于游离状态.<span class="hidden"> </span><span class="hidden"> </span></dd> <dt><code>externalNode</code></dt> <dd>将要从外部文档导入的节点。</dd> </dl> diff --git a/files/zh-cn/web/api/element/insertadjacenthtml/index.html b/files/zh-cn/web/api/element/insertadjacenthtml/index.html index e0ea9cda90..c84cd34a65 100644 --- a/files/zh-cn/web/api/element/insertadjacenthtml/index.html +++ b/files/zh-cn/web/api/element/insertadjacenthtml/index.html @@ -23,10 +23,10 @@ translation_of: Web/API/Element/insertAdjacentHTML <dt><code>position</code></dt> <dd>一个 {{domxref("DOMString")}},表示插入内容相对于元素的位置,并且必须是以下字符串之一: <ul> - <li><code><span style="display: none;"> </span><span style="display: none;"> </span>'beforebegin'</code>:元素自身的前面。</li> + <li><code><span class="hidden"> </span><span class="hidden"> </span>'beforebegin'</code>:元素自身的前面。</li> <li><code>'afterbegin'</code>:<font face="Open Sans, Arial, sans-serif">插入元素内部的第一个子节点之前</font>。</li> <li><code>'beforeend'</code>:插入元素内部的最后一个子节点之后。</li> - <li><code>'afterend'</code>:元素自身的后面。<span style="display: none;"> </span><span style="display: none;"> </span></li> + <li><code>'afterend'</code>:元素自身的后面。<span class="hidden"> </span><span class="hidden"> </span></li> </ul> </dd> <dt><code>text</code></dt> diff --git a/files/zh-cn/web/api/eventtarget/addeventlistener/index.html b/files/zh-cn/web/api/eventtarget/addeventlistener/index.html index 7414ff3c38..0abe412321 100644 --- a/files/zh-cn/web/api/eventtarget/addeventlistener/index.html +++ b/files/zh-cn/web/api/eventtarget/addeventlistener/index.html @@ -677,7 +677,7 @@ window.addEventListener('scroll', function(event) { <div class="outputBox-2JiL2_0"></div> -<div class="outputBox-EXeNH_0" style="display: none;"> +<div class="outputBox-EXeNH_0" class="hidden"> <div></div> </div> </div> diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointerout/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointerout/index.html index e702faa2a7..8eeea33ae1 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onpointerout/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onpointerout/index.html @@ -75,5 +75,5 @@ function init() { </ul> <p> - <audio style="display: none;"> </audio> + <audio class="hidden"> </audio> </p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html index b657f2f4b0..217a85c8da 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html @@ -170,13 +170,13 @@ document.onwheel = zoom;</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/headers/keys/index.html b/files/zh-cn/web/api/headers/keys/index.html index add32d5afb..508b884090 100644 --- a/files/zh-cn/web/api/headers/keys/index.html +++ b/files/zh-cn/web/api/headers/keys/index.html @@ -56,5 +56,5 @@ vary</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/htmlelement/input_event/index.html b/files/zh-cn/web/api/htmlelement/input_event/index.html index 12164b4ed4..f2921d53e2 100644 --- a/files/zh-cn/web/api/htmlelement/input_event/index.html +++ b/files/zh-cn/web/api/htmlelement/input_event/index.html @@ -154,5 +154,5 @@ function updateValue(e) { <p>此外,还有一个类似的 <code><a href="https://developer.mozilla.org/en-US/docs/Web/Reference/Events/change">change</a></code> 事件。change 触发的频率低于 <code>input</code> - 它只会在用户提交更改时触发。</p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/htmlselectelement/remove/index.html b/files/zh-cn/web/api/htmlselectelement/remove/index.html index 6cb7046a6e..f19cc16900 100644 --- a/files/zh-cn/web/api/htmlselectelement/remove/index.html +++ b/files/zh-cn/web/api/htmlselectelement/remove/index.html @@ -90,5 +90,5 @@ sel.remove(1); </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/imagedata/imagedata/index.html b/files/zh-cn/web/api/imagedata/imagedata/index.html index fc2b782cd0..10281c10da 100644 --- a/files/zh-cn/web/api/imagedata/imagedata/index.html +++ b/files/zh-cn/web/api/imagedata/imagedata/index.html @@ -22,7 +22,7 @@ translation_of: Web/API/ImageData/ImageData <dd>包含图像隐藏像素的 {{jsxref("Uint8ClampedArray")}} 数组。如果数组没有给定,指定大小的黑色矩形图像将会被创建。</dd> <dt><code>width</code></dt> <dd>无符号长整型(unsigned long)数值,描述图像的宽度。</dd> - <dt><span style="display: none;"> </span><code>height</code></dt> + <dt><span class="hidden"> </span><code>height</code></dt> <dd> 无符号长整型(unsigned long)数值,描述图像的高度。</dd> <dd>如果已给定数组,这个值是可选的:它将通过它的大小和给定的宽度进行推断。</dd> </dl> diff --git a/files/zh-cn/web/api/keyboardevent/keycode/index.html b/files/zh-cn/web/api/keyboardevent/keycode/index.html index c41e21285f..f3eeaf1a9e 100644 --- a/files/zh-cn/web/api/keyboardevent/keycode/index.html +++ b/files/zh-cn/web/api/keyboardevent/keycode/index.html @@ -411,7 +411,7 @@ translation_of: Web/API/KeyboardEvent/keyCode <th scope="row"><code>"KeyD"</code></th> <td colspan="3" rowspan="1"><code>0x44 (68)</code></td> <td colspan="3" rowspan="1"><code>0x44 (68)</code></td> - <td colspan="3" rowspan="1"><code>0x44 (68)<span style="display: none;"> </span></code></td> + <td colspan="3" rowspan="1"><code>0x44 (68)<span class="hidden"> </span></code></td> <td colspan="3" rowspan="1"><code>0x44 (68)</code></td> <td colspan="3" rowspan="1"><code>0x44 (68)</code></td> <td colspan="3" rowspan="1"><code>0x44 (68)</code></td> diff --git a/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html b/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html index efa1d1a8f0..b911350da3 100644 --- a/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html +++ b/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html @@ -21,8 +21,8 @@ translation_of: Web/API/MutationObserver/MutationObserver <h3 id="参数">参数</h3> <dl> - <dt><code><span style="display: none;"> </span><span style="display: none;"> </span>callback</code></dt> - <dd>一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的<code>MutationObserver</code> 对象。参见下方的{{anch("Example", "示例")}}了解更多细节<span style="display: none;"> </span><span style="display: none;"> </span></dd> + <dt><code><span class="hidden"> </span><span class="hidden"> </span>callback</code></dt> + <dd>一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的<code>MutationObserver</code> 对象。参见下方的{{anch("Example", "示例")}}了解更多细节<span class="hidden"> </span><span class="hidden"> </span></dd> </dl> <h3 id="返回值">返回值</h3> diff --git a/files/zh-cn/web/api/nodeiterator/index.html b/files/zh-cn/web/api/nodeiterator/index.html index 2b2795b6a0..756dad125d 100644 --- a/files/zh-cn/web/api/nodeiterator/index.html +++ b/files/zh-cn/web/api/nodeiterator/index.html @@ -210,5 +210,5 @@ translation_of: Web/API/NodeIterator </ul> <p> - <audio style="display: none;"> </audio> + <audio class="hidden"> </audio> </p> diff --git a/files/zh-cn/web/api/path2d/addpath/index.html b/files/zh-cn/web/api/path2d/addpath/index.html index a19a3ce8cf..656c35342c 100644 --- a/files/zh-cn/web/api/path2d/addpath/index.html +++ b/files/zh-cn/web/api/path2d/addpath/index.html @@ -53,7 +53,7 @@ ctx.fill(p1); <p>修改下面的代码并在线查看 canvas 的变化 (查看浏览器兼容性列表,确定你目前的浏览器是否支持这个方法):</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/path2d/path2d/index.html b/files/zh-cn/web/api/path2d/path2d/index.html index f606aa678d..16a681cedf 100644 --- a/files/zh-cn/web/api/path2d/path2d/index.html +++ b/files/zh-cn/web/api/path2d/path2d/index.html @@ -47,7 +47,7 @@ ctx.stroke(path2); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> @@ -107,7 +107,7 @@ ctx.fill(p); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code2">Playable code2</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/zh-cn/web/api/request/headers/index.html b/files/zh-cn/web/api/request/headers/index.html index 37e7f41654..f09ee2af07 100644 --- a/files/zh-cn/web/api/request/headers/index.html +++ b/files/zh-cn/web/api/request/headers/index.html @@ -70,9 +70,9 @@ myContentType = myRequest.headers.get('Content-Type'); // returns 'image/jpeg'</ <div id="SL_balloon_obj" style="display: block;"> <div class="SL_ImTranslatorLogo" id="SL_button" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%; display: none; opacity: 1; left: -8px; top: -25px;"> </div> -<div id="SL_shadow_translation_result2" style="display: none;"> </div> +<div id="SL_shadow_translation_result2" class="hidden"> </div> -<div id="SL_shadow_translator" style="display: none;"> +<div id="SL_shadow_translator" class="hidden"> <div id="SL_planshet"> <div id="SL_arrow_up" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> @@ -84,7 +84,7 @@ myContentType = myRequest.headers.get('Content-Type'); // returns 'image/jpeg'</ <div class="SL_BL_LABLE_ON" id="SL_P2" title="Translator">T</div> </div> -<div id="SL_alert_bbl" style="display: none;"> +<div id="SL_alert_bbl" class="hidden"> <div id="SLHKclose" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div> <div id="SL_alert_cont"> </div> diff --git a/files/zh-cn/web/api/rtcsessiondescription/index.html b/files/zh-cn/web/api/rtcsessiondescription/index.html index ff94b0eb5f..32edee10c0 100644 --- a/files/zh-cn/web/api/rtcsessiondescription/index.html +++ b/files/zh-cn/web/api/rtcsessiondescription/index.html @@ -67,7 +67,7 @@ translation_of: Web/API/RTCSessionDescription <dd>返回一个{{Glossary("JSON")}} 描述对象. 该对象包含两个值, {{domxref("RTCSessionDescription.type", "type")}} 和{{domxref("RTCSessionDescription.sdp", "sdp")}}。</dd> </dl> -<h2 id="Example">Example<span id="cke_bm_72C" style="display: none;"> </span></h2> +<h2 id="Example">Example<span id="cke_bm_72C" class="hidden"> </span></h2> <pre class="brush: js">signalingChannel.onmessage = function (evt) { if (!pc) diff --git a/files/zh-cn/web/api/wakelock/request/index.html b/files/zh-cn/web/api/wakelock/request/index.html index 11605b1ab9..eeb1962d44 100644 --- a/files/zh-cn/web/api/wakelock/request/index.html +++ b/files/zh-cn/web/api/wakelock/request/index.html @@ -82,5 +82,5 @@ tryKeepScreenAlive(10); </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/websocket/index.html b/files/zh-cn/web/api/websocket/index.html index dc534d928a..b7d624f8b7 100644 --- a/files/zh-cn/web/api/websocket/index.html +++ b/files/zh-cn/web/api/websocket/index.html @@ -153,5 +153,5 @@ socket.addEventListener('message', function (event) { </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/websocket/readystate/index.html b/files/zh-cn/web/api/websocket/readystate/index.html index e4d7bd23fb..57247d931e 100644 --- a/files/zh-cn/web/api/websocket/readystate/index.html +++ b/files/zh-cn/web/api/websocket/readystate/index.html @@ -56,5 +56,5 @@ translation_of: Web/API/WebSocket/readyState <p>{{Compat("api.WebSocket.readyState")}}</p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> diff --git a/files/zh-cn/web/api/windoworworkerglobalscope/createimagebitmap/index.html b/files/zh-cn/web/api/windoworworkerglobalscope/createimagebitmap/index.html index 72e7b8433e..7d55152960 100644 --- a/files/zh-cn/web/api/windoworworkerglobalscope/createimagebitmap/index.html +++ b/files/zh-cn/web/api/windoworworkerglobalscope/createimagebitmap/index.html @@ -203,5 +203,5 @@ image.src = 'sprites.png'; </ul> <p> - <audio style="display: none;"> </audio> + <audio class="hidden"> </audio> </p> |