From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 25 Feb 2021 08:31:36 -0500 Subject: use class="hidden" not style="display:none" --- files/zh-cn/web/api/analysernode/index.html | 2 +- files/zh-cn/web/api/animationevent/animationevent/index.html | 2 +- files/zh-cn/web/api/body/arraybuffer/index.html | 2 +- files/zh-cn/web/api/canvasgradient/addcolorstop/index.html | 2 +- .../web/api/canvasrenderingcontext2d/addhitregion/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html | 4 ++-- files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html | 2 +- .../web/api/canvasrenderingcontext2d/beziercurveto/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html | 2 +- .../api/canvasrenderingcontext2d/createlineargradient/index.html | 2 +- .../api/canvasrenderingcontext2d/createradialgradient/index.html | 2 +- .../web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/drawimage/index.html | 5 +---- files/zh-cn/web/api/canvasrenderingcontext2d/ellipse/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html | 2 +- .../zh-cn/web/api/canvasrenderingcontext2d/getlinedash/index.html | 2 +- .../web/api/canvasrenderingcontext2d/ispointinpath/index.html | 2 +- .../web/api/canvasrenderingcontext2d/ispointinstroke/index.html | 2 +- .../web/api/canvasrenderingcontext2d/linedashoffset/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html | 2 +- .../web/api/canvasrenderingcontext2d/putimagedata/index.html | 2 +- .../web/api/canvasrenderingcontext2d/quadraticcurveto/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html | 2 +- .../web/api/canvasrenderingcontext2d/resettransform/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/scale/index.html | 8 ++++---- .../api/canvasrenderingcontext2d/scrollpathintoview/index.html | 2 +- .../zh-cn/web/api/canvasrenderingcontext2d/setlinedash/index.html | 2 +- .../web/api/canvasrenderingcontext2d/settransform/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html | 2 +- .../zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html | 2 +- files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html | 2 +- files/zh-cn/web/api/channel_messaging_api/index.html | 2 +- files/zh-cn/web/api/css/index.html | 2 +- files/zh-cn/web/api/cssstylesheet/insertrule/index.html | 2 +- files/zh-cn/web/api/document/adoptnode/index.html | 4 ++-- files/zh-cn/web/api/element/insertadjacenthtml/index.html | 4 ++-- files/zh-cn/web/api/eventtarget/addeventlistener/index.html | 2 +- files/zh-cn/web/api/globaleventhandlers/onpointerout/index.html | 2 +- files/zh-cn/web/api/globaleventhandlers/onwheel/index.html | 6 +++--- files/zh-cn/web/api/headers/keys/index.html | 2 +- files/zh-cn/web/api/htmlelement/input_event/index.html | 2 +- files/zh-cn/web/api/htmlselectelement/remove/index.html | 2 +- files/zh-cn/web/api/imagedata/imagedata/index.html | 2 +- files/zh-cn/web/api/keyboardevent/keycode/index.html | 2 +- files/zh-cn/web/api/mutationobserver/mutationobserver/index.html | 4 ++-- files/zh-cn/web/api/nodeiterator/index.html | 2 +- files/zh-cn/web/api/path2d/addpath/index.html | 2 +- files/zh-cn/web/api/path2d/path2d/index.html | 4 ++-- files/zh-cn/web/api/request/headers/index.html | 6 +++--- files/zh-cn/web/api/rtcsessiondescription/index.html | 2 +- files/zh-cn/web/api/wakelock/request/index.html | 2 +- files/zh-cn/web/api/websocket/index.html | 2 +- files/zh-cn/web/api/websocket/readystate/index.html | 2 +- .../api/windoworworkerglobalscope/createimagebitmap/index.html | 2 +- 63 files changed, 75 insertions(+), 78 deletions(-) (limited to 'files/zh-cn/web/api') 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

继承属性自 {{domxref("AudioNode")}}。

-
{{domxref("AnalyserNode.fftSize")}}
+
{{domxref("AnalyserNode.fftSize")}}
一个无符号长整形(unsigned long)的值,代表了用于计算频域信号时使用的 FFT (快速傅里叶变换) 的窗口大小。
{{domxref("AnalyserNode.frequencyBinCount")}} {{readonlyInline}}
一个无符号长整形(unsigned long)的值, 值为fftSize的一半。这通常等于将要用于可视化的数据值的数量。
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
  • The {{domxref("AnimationEvent")}} interface it belongs to.
  • - + 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() {
  • HTTP
  • - + 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);

    编辑以下代码可看到画布变化:

    -
    +
    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 "KeyD" 0x44 (68) 0x44 (68) - 0x44 (68)  + 0x44 (68) 0x44 (68) 0x44 (68) 0x44 (68) 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

    参数

    -
      callback
    -
    一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的MutationObserver 对象。参见下方的{{anch("Example", "示例")}}了解更多细节  
    +
    callback
    +
    一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的MutationObserver 对象。参见下方的{{anch("Example", "示例")}}了解更多细节

    返回值

    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

    - +

    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);

    修改下面的代码并在线查看 canvas 的变化 (查看浏览器兼容性列表,确定你目前的浏览器是否支持这个方法):

    -
    +