From 62959581f1ed28771d8d766faf852691238ee26d Mon Sep 17 00:00:00 2001 From: allo Date: Mon, 23 May 2022 13:04:43 +0800 Subject: [PATCH 1/2] replace standard-table with macros --- .../web/api/abortcontroller/abort/index.html | 15 +---------- .../abortcontroller/index.html | 15 +---------- .../zh-cn/web/api/abortcontroller/index.html | 15 +---------- .../api/abortsignal/abort_event/index.html | 15 +---------- .../web/api/abortsignal/aborted/index.html | 15 +---------- files/zh-cn/web/api/abortsignal/index.html | 15 +---------- files/zh-cn/web/api/accelerometer/index.html | 20 +------------- .../ambientlightsensor/index.html | 15 +---------- .../ambientlightsensor/illuminance/index.html | 15 +---------- .../web/api/ambientlightsensor/index.html | 15 +---------- .../api/analysernode/analysernode/index.html | 15 +---------- .../web/api/analysernode/fftsize/index.html | 15 +---------- .../analysernode/frequencybincount/index.html | 15 +---------- .../getbytefrequencydata/index.html | 15 +---------- .../getbytetimedomaindata/index.html | 15 +---------- .../getfloatfrequencydata/index.html | 15 +---------- files/zh-cn/web/api/analysernode/index.html | 15 +---------- .../smoothingtimeconstant/index.html | 15 +---------- .../web/api/angle_instanced_arrays/index.html | 15 +---------- .../web/api/animation/animation/index.html | 15 +---------- .../zh-cn/web/api/animation/cancel/index.html | 15 +---------- .../web/api/animation/cancel_event/index.html | 15 +---------- .../web/api/animation/currenttime/index.html | 15 +---------- .../zh-cn/web/api/animation/effect/index.html | 15 +---------- .../zh-cn/web/api/animation/finish/index.html | 15 +---------- .../web/api/animation/finished/index.html | 15 +---------- files/zh-cn/web/api/animation/id/index.html | 15 +---------- files/zh-cn/web/api/animation/index.html | 15 +---------- files/zh-cn/web/api/animation/play/index.html | 15 +---------- .../web/api/animation/playstate/index.html | 15 +---------- .../animationevent/animationevent/index.html | 17 +----------- .../animationevent/animationname/index.html | 17 +----------- files/zh-cn/web/api/animationevent/index.html | 17 +----------- .../web/api/animationtimeline/index.html | 15 +---------- files/zh-cn/web/api/atob/index.html | 27 +------------------ files/zh-cn/web/api/attr/localname/index.html | 17 +----------- .../web/api/attr/namespaceuri/index.html | 17 +----------- files/zh-cn/web/api/attr/prefix/index.html | 22 +-------------- .../api/audiobuffer/audiobuffer/index.html | 15 +---------- .../audiobuffer/copyfromchannel/index.html | 15 +---------- .../web/api/audiobuffer/duration/index.html | 15 +---------- .../api/audiobuffer/getchanneldata/index.html | 15 +---------- files/zh-cn/web/api/audiobuffer/index.html | 15 +---------- .../web/api/audiobuffer/length/index.html | 15 +---------- .../audiobuffer/numberofchannels/index.html | 15 +---------- .../web/api/audiobuffer/samplerate/index.html | 15 +---------- .../audiobuffersourcenode/index.html | 15 +---------- .../audiobuffersourcenode/buffer/index.html | 17 +----------- .../web/api/audiobuffersourcenode/index.html | 15 +---------- .../audiobuffersourcenode/start/index.html | 15 +---------- 50 files changed, 50 insertions(+), 736 deletions(-) diff --git a/files/zh-cn/web/api/abortcontroller/abort/index.html b/files/zh-cn/web/api/abortcontroller/abort/index.html index a37eda817625e3..becf9aa6c3ef2d 100644 --- a/files/zh-cn/web/api/abortcontroller/abort/index.html +++ b/files/zh-cn/web/api/abortcontroller/abort/index.html @@ -58,20 +58,7 @@

Examples

Specifications

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('DOM WHATWG', '#dom-abortcontroller-abort', 'abort()')}}{{Spec2('DOM WHATWG')}}Initial definition
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/abortcontroller/abortcontroller/index.html b/files/zh-cn/web/api/abortcontroller/abortcontroller/index.html index 036806e29aae88..a6db3559178cd1 100644 --- a/files/zh-cn/web/api/abortcontroller/abortcontroller/index.html +++ b/files/zh-cn/web/api/abortcontroller/abortcontroller/index.html @@ -58,20 +58,7 @@

Examples

Specifications

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('DOM WHATWG', '#dom-abortcontroller-abortcontroller', 'AbortController()')}}{{Spec2('DOM WHATWG')}}Initial definition
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/abortcontroller/index.html b/files/zh-cn/web/api/abortcontroller/index.html index 98e161364bb10f..f2b7fcb57dff05 100644 --- a/files/zh-cn/web/api/abortcontroller/index.html +++ b/files/zh-cn/web/api/abortcontroller/index.html @@ -74,20 +74,7 @@

示例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('DOM WHATWG', '#interface-abortcontroller', 'AbortController')}}{{Spec2('DOM WHATWG')}}Initial definition
+{{Specifications}}

浏览器兼容

diff --git a/files/zh-cn/web/api/abortsignal/abort_event/index.html b/files/zh-cn/web/api/abortsignal/abort_event/index.html index 64b65587f0bcdf..42de116c2538a1 100644 --- a/files/zh-cn/web/api/abortsignal/abort_event/index.html +++ b/files/zh-cn/web/api/abortsignal/abort_event/index.html @@ -34,20 +34,7 @@

示例

规格

- - - - - - - - - - - - - -
规格状态标注
{{SpecName('DOM WHATWG', '#dom-abortsignal-aborted', 'onabort')}}{{Spec2('DOM WHATWG')}}初始定义
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/abortsignal/aborted/index.html b/files/zh-cn/web/api/abortsignal/aborted/index.html index eca97c13cf8e57..18d49c570b18b3 100644 --- a/files/zh-cn/web/api/abortsignal/aborted/index.html +++ b/files/zh-cn/web/api/abortsignal/aborted/index.html @@ -29,20 +29,7 @@

示例

规格

- - - - - - - - - - - - - -
规格状态备注
{{SpecName('DOM WHATWG', '#dom-abortsignal-onabort', 'onabort')}}{{Spec2('DOM WHATWG')}}初始定义
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/abortsignal/index.html b/files/zh-cn/web/api/abortsignal/index.html index e811923848cbf9..cee321e46ea798 100644 --- a/files/zh-cn/web/api/abortsignal/index.html +++ b/files/zh-cn/web/api/abortsignal/index.html @@ -78,20 +78,7 @@

示例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('DOM WHATWG', '#interface-AbortSignal', 'AbortSignal')}}{{Spec2('DOM WHATWG')}}Initial definition
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/accelerometer/index.html b/files/zh-cn/web/api/accelerometer/index.html index 51b5e7aa87159e..0a11461db59e20 100644 --- a/files/zh-cn/web/api/accelerometer/index.html +++ b/files/zh-cn/web/api/accelerometer/index.html @@ -44,25 +44,7 @@

Example

Specifications

- - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Generic Sensor')}}{{Spec2('Generic Sensor')}}Defines sensors in general.
{{SpecName('Accelerometer','#accelerometer-interface','Accelerometer')}}{{Spec2('Accelerometer')}} 
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html b/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html index 0f2d172c111098..da9c96f5237a4e 100644 --- a/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html +++ b/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html @@ -24,20 +24,7 @@

参数

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('AmbientLight','#dom-ambientlightsensor-ambientlightsensor','AmbinentLightSensor()')}}{{Spec2('AmbientLight')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html b/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html index 302bd16103f8dc..9b2aa1da4a2154 100644 --- a/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html +++ b/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html @@ -23,20 +23,7 @@

用例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('AmbientLight')}}{{Spec2('AmbientLight')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/ambientlightsensor/index.html b/files/zh-cn/web/api/ambientlightsensor/index.html index 3ba6e0e16dfbf8..8e694c666e89c2 100644 --- a/files/zh-cn/web/api/ambientlightsensor/index.html +++ b/files/zh-cn/web/api/ambientlightsensor/index.html @@ -25,20 +25,7 @@

Examples

// TBD
- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('AmbientLight','#ambient-light-sensor-interface','AmbientLightSensor')}}{{Spec2('AmbientLight')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/analysernode/index.html b/files/zh-cn/web/api/analysernode/analysernode/index.html index acc1b2e7a69414..7107c338c23b37 100644 --- a/files/zh-cn/web/api/analysernode/analysernode/index.html +++ b/files/zh-cn/web/api/analysernode/analysernode/index.html @@ -35,20 +35,7 @@

返回值

Specifications

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API','#the-analysernode-interface','AnalyserNode')}}{{Spec2('Web Audio API')}}Initial definition.
+{{Specifications}}

Browser Compatibility

diff --git a/files/zh-cn/web/api/analysernode/fftsize/index.html b/files/zh-cn/web/api/analysernode/fftsize/index.html index 3baa916990392a..591124a8d6204b 100644 --- a/files/zh-cn/web/api/analysernode/fftsize/index.html +++ b/files/zh-cn/web/api/analysernode/fftsize/index.html @@ -81,20 +81,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-fftSize', 'fftSize')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/frequencybincount/index.html b/files/zh-cn/web/api/analysernode/frequencybincount/index.html index dfeb4419b74dd3..cf8785021caf11 100644 --- a/files/zh-cn/web/api/analysernode/frequencybincount/index.html +++ b/files/zh-cn/web/api/analysernode/frequencybincount/index.html @@ -64,20 +64,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-frequencyBinCount', 'frequencyBinCount')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html b/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html index a4fe7b79a9e99f..c362deaa2f7f5f 100644 --- a/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html +++ b/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html @@ -74,20 +74,7 @@

参数

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-getByteFrequencyData-void-Uint8Array-array', 'getByteFrequencyData()')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/getbytetimedomaindata/index.html b/files/zh-cn/web/api/analysernode/getbytetimedomaindata/index.html index 780df8f29d2d9c..5637ee33949e98 100644 --- a/files/zh-cn/web/api/analysernode/getbytetimedomaindata/index.html +++ b/files/zh-cn/web/api/analysernode/getbytetimedomaindata/index.html @@ -81,20 +81,7 @@

例子

规格

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-getByteTimeDomainData-void-Uint8Array-array', 'getByteTimeDomainData()')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/getfloatfrequencydata/index.html b/files/zh-cn/web/api/analysernode/getfloatfrequencydata/index.html index 6ff2d5d1a39b52..205da5d4406e5f 100644 --- a/files/zh-cn/web/api/analysernode/getfloatfrequencydata/index.html +++ b/files/zh-cn/web/api/analysernode/getfloatfrequencydata/index.html @@ -112,20 +112,7 @@

例:绘制一个频谱

规范

- - - - - - - - - - - - - -
规范StatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-getFloatFrequencyData-void-Float32Array-array', 'getFloatFrequencyData()')}}{{Spec2('Web Audio API')}}
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/index.html b/files/zh-cn/web/api/analysernode/index.html index be507a84da1aa2..411204505238b1 100644 --- a/files/zh-cn/web/api/analysernode/index.html +++ b/files/zh-cn/web/api/analysernode/index.html @@ -155,20 +155,7 @@

基础用法

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#the-analysernode-interface', 'AnalyserNode')}}{{Spec2('Web Audio API')}}
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html b/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html index d27bfafd47c365..0acbdcd0ea81fc 100644 --- a/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html +++ b/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html @@ -75,20 +75,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AnalyserNode-smoothingTimeConstant', 'smoothingTimeConstant')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/angle_instanced_arrays/index.html b/files/zh-cn/web/api/angle_instanced_arrays/index.html index 1469a96669c8d1..99d1a24783978e 100644 --- a/files/zh-cn/web/api/angle_instanced_arrays/index.html +++ b/files/zh-cn/web/api/angle_instanced_arrays/index.html @@ -54,20 +54,7 @@

示例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ANGLE_instanced_arrays', '', 'ANGLE_instanced_arrays')}}{{Spec2('ANGLE_instanced_arrays')}}初始定义。
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animation/animation/index.html b/files/zh-cn/web/api/animation/animation/index.html index fdc9cbe87cfedf..cedf7c70e35743 100644 --- a/files/zh-cn/web/api/animation/animation/index.html +++ b/files/zh-cn/web/api/animation/animation/index.html @@ -31,20 +31,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-animation', 'animation()' )}}{{Spec2('Web Animations')}}Editor's draft.
+{{Specifications}}

浏览器支持

diff --git a/files/zh-cn/web/api/animation/cancel/index.html b/files/zh-cn/web/api/animation/cancel/index.html index 79739548faf57e..932f04026508c8 100644 --- a/files/zh-cn/web/api/animation/cancel/index.html +++ b/files/zh-cn/web/api/animation/cancel/index.html @@ -34,20 +34,7 @@

异常

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-cancel', 'Animation.cancel()' )}}{{Spec2('Web Animations')}}Editor's draft.
+{{Specifications}}

浏览器兼容

diff --git a/files/zh-cn/web/api/animation/cancel_event/index.html b/files/zh-cn/web/api/animation/cancel_event/index.html index ca88558f162374..db45f036b20345 100644 --- a/files/zh-cn/web/api/animation/cancel_event/index.html +++ b/files/zh-cn/web/api/animation/cancel_event/index.html @@ -36,20 +36,7 @@

例子

标准

- - - - - - - - - - - - - -
标准状态备注
{{SpecName('Web Animations', '#dom-animation-oncancel', 'Animation.oncancel' )}}{{Spec2('Web Animations')}}编辑草案中。
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animation/currenttime/index.html b/files/zh-cn/web/api/animation/currenttime/index.html index 424affba204ec5..0f3e6ccae4896d 100644 --- a/files/zh-cn/web/api/animation/currenttime/index.html +++ b/files/zh-cn/web/api/animation/currenttime/index.html @@ -34,20 +34,7 @@

例子

规范

- - - - - - - - - - - - - -
规范状态说明
{{SpecName('Web Animations', '#dom-animation-currenttime', 'currentTime')}}{{Spec2("Web Animations")}} 
+{{Specifications}}

浏览器支持

diff --git a/files/zh-cn/web/api/animation/effect/index.html b/files/zh-cn/web/api/animation/effect/index.html index cc18acb42c7c45..50469e8df03388 100644 --- a/files/zh-cn/web/api/animation/effect/index.html +++ b/files/zh-cn/web/api/animation/effect/index.html @@ -24,20 +24,7 @@

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-effect', 'Animation.effect' )}}{{Spec2('Web Animations')}}Editor's draft.
+{{Specifications}}

浏览器支持

diff --git a/files/zh-cn/web/api/animation/finish/index.html b/files/zh-cn/web/api/animation/finish/index.html index 527c8f78ce7fc0..6af00fdf4117b5 100644 --- a/files/zh-cn/web/api/animation/finish/index.html +++ b/files/zh-cn/web/api/animation/finish/index.html @@ -64,20 +64,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-finish', 'finish()')}}{{Spec2("Web Animations")}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animation/finished/index.html b/files/zh-cn/web/api/animation/finished/index.html index 20df7d4b288af9..65e27e2acf382a 100644 --- a/files/zh-cn/web/api/animation/finished/index.html +++ b/files/zh-cn/web/api/animation/finished/index.html @@ -40,20 +40,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-finished', 'Animation.finished' )}}{{Spec2('Web Animations')}}Editor's draft.
+{{Specifications}}

浏览器支持

diff --git a/files/zh-cn/web/api/animation/id/index.html b/files/zh-cn/web/api/animation/id/index.html index 5af1cdbdd0e957..dd09d384d25b5e 100644 --- a/files/zh-cn/web/api/animation/id/index.html +++ b/files/zh-cn/web/api/animation/id/index.html @@ -33,20 +33,7 @@

示例

规范

- - - - - - - - - - - - - -
规范状态说明
{{SpecName('Web Animations', '#dom-animation-id', 'Animation.id' )}}{{Spec2('Web Animations')}}Editor's draft.
+{{Specifications}}

浏览器支持

diff --git a/files/zh-cn/web/api/animation/index.html b/files/zh-cn/web/api/animation/index.html index 0db1e9496b95e8..75d154d0ee3d66 100644 --- a/files/zh-cn/web/api/animation/index.html +++ b/files/zh-cn/web/api/animation/index.html @@ -92,20 +92,7 @@

方法

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName("Web Animations", "#the-animation-interface", "Animation")}}{{Spec2("Web Animations")}}Initial definition
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animation/play/index.html b/files/zh-cn/web/api/animation/play/index.html index 4ff52dd3c612e4..07d84435f59753 100644 --- a/files/zh-cn/web/api/animation/play/index.html +++ b/files/zh-cn/web/api/animation/play/index.html @@ -56,20 +56,7 @@

例子

标准

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Animations', '#dom-animation-play', 'play()')}}{{Spec2("Web Animations")}}
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animation/playstate/index.html b/files/zh-cn/web/api/animation/playstate/index.html index cbe1965308e875..936269c3313158 100644 --- a/files/zh-cn/web/api/animation/playstate/index.html +++ b/files/zh-cn/web/api/animation/playstate/index.html @@ -74,20 +74,7 @@

实例

规范

- - - - - - - - - - - - - -
格式状态注解
{{SpecName('Web Animations', '#play-state', 'playState')}}{{Spec2("Web Animations")}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animationevent/animationevent/index.html b/files/zh-cn/web/api/animationevent/animationevent/index.html index 14aa5c0777c952..3ddeed8cc5d9f4 100644 --- a/files/zh-cn/web/api/animationevent/animationevent/index.html +++ b/files/zh-cn/web/api/animationevent/animationevent/index.html @@ -31,22 +31,7 @@

参数

标准

- - - - - - - - - - - - - - - -
SpecificationStatusComment
{{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent()') }}{{ Spec2('CSS3 Animations')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/animationevent/animationname/index.html b/files/zh-cn/web/api/animationevent/animationname/index.html index 746db23df10520..02db4e2592dac2 100644 --- a/files/zh-cn/web/api/animationevent/animationname/index.html +++ b/files/zh-cn/web/api/animationevent/animationname/index.html @@ -13,22 +13,7 @@

Syntax

Specifications

- - - - - - - - - - - - - - - -
SpecificationStatusComment
{{ SpecName('CSS3 Animations', '#AnimationEvent-animationName', 'AnimationEvent.animationName') }}{{ Spec2('CSS3 Animations')}}Initial definition.
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/animationevent/index.html b/files/zh-cn/web/api/animationevent/index.html index 75179fd92567d0..68e5f43a44ef92 100644 --- a/files/zh-cn/web/api/animationevent/index.html +++ b/files/zh-cn/web/api/animationevent/index.html @@ -44,22 +44,7 @@

Methods

Specifications

- - - - - - - - - - - - - - - -
SpecificationStatusComment
{{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent') }}{{ Spec2('CSS3 Animations') }}Initial definition.
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/animationtimeline/index.html b/files/zh-cn/web/api/animationtimeline/index.html index 819b6ac9150a16..75d635bd52fd66 100644 --- a/files/zh-cn/web/api/animationtimeline/index.html +++ b/files/zh-cn/web/api/animationtimeline/index.html @@ -16,20 +16,7 @@

属性

规格

- - - - - - - - - - - - - -
规范状态评论
{{SpecName('Web Animations','#the-animationtimeline-interface','AnimationTimeline')}}{{Spec2('Web Animations')}}编辑者草稿。
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/atob/index.html b/files/zh-cn/web/api/atob/index.html index 4679dec8c54ba2..fbb2e12c065d75 100644 --- a/files/zh-cn/web/api/atob/index.html +++ b/files/zh-cn/web/api/atob/index.html @@ -34,32 +34,7 @@

示例

规范

- - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#dom-windowbase64-atob', 'WindowBase64.atob()')}}{{Spec2('HTML WHATWG')}}No change since the latest snapshot, {{SpecName("HTML5.1")}}.
{{SpecName('HTML5.1', '#dom-windowbase64-atob', 'WindowBase64.atob()')}}{{Spec2('HTML5.1')}}Snapshot of {{SpecName("HTML WHATWG")}}. No change.
{{SpecName("HTML5 W3C", "#dom-windowbase64-atob", "WindowBase64.atob()")}}{{Spec2('HTML5 W3C')}}Snapshot of {{SpecName("HTML WHATWG")}}. Creation of WindowBase64 (properties were on the target before it).
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/attr/localname/index.html b/files/zh-cn/web/api/attr/localname/index.html index 352e0aa02faacf..502780a9272736 100644 --- a/files/zh-cn/web/api/attr/localname/index.html +++ b/files/zh-cn/web/api/attr/localname/index.html @@ -49,22 +49,7 @@

注意

规范

- - - - - - - - - - - - - - - -
规范状态备注
{{SpecName('DOM WHATWG', '#dom-attr-localname', 'Attr.localName')}}{{Spec2('DOM WHATWG')}}Initial definition
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/attr/namespaceuri/index.html b/files/zh-cn/web/api/attr/namespaceuri/index.html index 30a6d02b5e958e..cc976b628e70bd 100644 --- a/files/zh-cn/web/api/attr/namespaceuri/index.html +++ b/files/zh-cn/web/api/attr/namespaceuri/index.html @@ -42,22 +42,7 @@

笔记

规格

- - - - - - - - - - - - - - - -
规格状态注释
{{SpecName("DOM4", "#dom-element-namespaceuri", "Element.namespaceuri")}}{{Spec2("DOM4")}}初始定义
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/attr/prefix/index.html b/files/zh-cn/web/api/attr/prefix/index.html index 16215636ec9f00..8547b526347791 100644 --- a/files/zh-cn/web/api/attr/prefix/index.html +++ b/files/zh-cn/web/api/attr/prefix/index.html @@ -29,27 +29,7 @@

注意

规范

- - - - - - - - - - - - - - - - - - - - -
规范状态备注
{{SpecName('DOM WHATWG', '#dom-attr-prefix', 'Attr: prefix')}}{{Spec2('DOM WHATWG')}}
{{SpecName("DOM4", "#dom-attr-prefix", "Attr.prefix")}}{{Spec2("DOM4")}}
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/audiobuffer/index.html b/files/zh-cn/web/api/audiobuffer/audiobuffer/index.html index 0b207a8d4c8012..2729894c692b6c 100644 --- a/files/zh-cn/web/api/audiobuffer/audiobuffer/index.html +++ b/files/zh-cn/web/api/audiobuffer/audiobuffer/index.html @@ -35,20 +35,7 @@

返回值

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API','#AudioBuffer','AudioBuffer')}}{{Spec2('Web Audio API')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html b/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html index 19eb228e49e3c4..8950fc193c1e66 100644 --- a/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html +++ b/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html @@ -33,20 +33,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBuffer-copyFromChannel-void-Float32Array-destination-long-channelNumber-unsigned-long-startInChannel', 'copyFromChannel')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/duration/index.html b/files/zh-cn/web/api/audiobuffer/duration/index.html index e46e3d30381864..469a676bbb061e 100644 --- a/files/zh-cn/web/api/audiobuffer/duration/index.html +++ b/files/zh-cn/web/api/audiobuffer/duration/index.html @@ -47,20 +47,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBuffer-duration', 'duration')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/getchanneldata/index.html b/files/zh-cn/web/api/audiobuffer/getchanneldata/index.html index 2c0d75cb1b5ed1..00e3ec7db75151 100644 --- a/files/zh-cn/web/api/audiobuffer/getchanneldata/index.html +++ b/files/zh-cn/web/api/audiobuffer/getchanneldata/index.html @@ -72,20 +72,7 @@

例子

Specification

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#dom-audiobuffer-getchanneldata', 'getChannelData')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

Browser compatibility

diff --git a/files/zh-cn/web/api/audiobuffer/index.html b/files/zh-cn/web/api/audiobuffer/index.html index e1e0bacf0b2972..a374cd0292e516 100644 --- a/files/zh-cn/web/api/audiobuffer/index.html +++ b/files/zh-cn/web/api/audiobuffer/index.html @@ -79,20 +79,7 @@

例子

规格参数

- - - - - - - - - - - - - -
规格参数状态注释
{{SpecName('Web Audio API', '#the-audiobuffer-interface', 'AudioBuffer')}}{{Spec2('Web Audio API')}}Initial definition.
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/length/index.html b/files/zh-cn/web/api/audiobuffer/length/index.html index f73ba0c12b4369..91ff4eda4fcf1a 100644 --- a/files/zh-cn/web/api/audiobuffer/length/index.html +++ b/files/zh-cn/web/api/audiobuffer/length/index.html @@ -48,20 +48,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBuffer-length', 'length')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html b/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html index 47ab6809970c9b..2c2c3448c005a0 100644 --- a/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html +++ b/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html @@ -51,20 +51,7 @@

示例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBuffer-numberOfChannels', 'numberOfChannels')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffer/samplerate/index.html b/files/zh-cn/web/api/audiobuffer/samplerate/index.html index 1de2c66fb5f027..f020a3e69fc735 100644 --- a/files/zh-cn/web/api/audiobuffer/samplerate/index.html +++ b/files/zh-cn/web/api/audiobuffer/samplerate/index.html @@ -51,20 +51,7 @@

示例

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBuffer-sampleRate', 'sampleRate')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffersourcenode/audiobuffersourcenode/index.html b/files/zh-cn/web/api/audiobuffersourcenode/audiobuffersourcenode/index.html index 62202a137028c7..3a35d9314ec82b 100644 --- a/files/zh-cn/web/api/audiobuffersourcenode/audiobuffersourcenode/index.html +++ b/files/zh-cn/web/api/audiobuffersourcenode/audiobuffersourcenode/index.html @@ -40,20 +40,7 @@

Return value

Specifications

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API','#AudioBufferSourceNode','AudioBufferSourceNode()')}}{{Spec2('Web Audio API')}}Initial definition.
+{{Specifications}}

Browser Compatibility

diff --git a/files/zh-cn/web/api/audiobuffersourcenode/buffer/index.html b/files/zh-cn/web/api/audiobuffersourcenode/buffer/index.html index 39591c82ba4cdf..6df961a92f4e7d 100644 --- a/files/zh-cn/web/api/audiobuffersourcenode/buffer/index.html +++ b/files/zh-cn/web/api/audiobuffersourcenode/buffer/index.html @@ -51,22 +51,7 @@

示例

规范

- - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName("Web Audio API", "#widl-AudioBufferSourceNode-buffer", "buffer")}}{{Spec2("Web Audio API")}}Initial definition
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffersourcenode/index.html b/files/zh-cn/web/api/audiobuffersourcenode/index.html index b1e0fc2963e0f0..1ff1f33d00df92 100644 --- a/files/zh-cn/web/api/audiobuffersourcenode/index.html +++ b/files/zh-cn/web/api/audiobuffersourcenode/index.html @@ -128,20 +128,7 @@

例子

规范

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#the-audiobuffersourcenode-interface', 'AudioBufferSourceNode')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

浏览器兼容性

diff --git a/files/zh-cn/web/api/audiobuffersourcenode/start/index.html b/files/zh-cn/web/api/audiobuffersourcenode/start/index.html index 0975fa5c24e43c..553bd4463609ab 100644 --- a/files/zh-cn/web/api/audiobuffersourcenode/start/index.html +++ b/files/zh-cn/web/api/audiobuffersourcenode/start/index.html @@ -54,20 +54,7 @@

例子

Specifications

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API', '#widl-AudioBufferSourceNode-start-void-double-when-double-offset-double-duration', 'start()')}}{{Spec2('Web Audio API')}} 
+{{Specifications}}

Browser compatibility

From ee2d1f7ffe67662bb9c4f7b66a20d41b4bec9c6d Mon Sep 17 00:00:00 2001 From: allo Date: Mon, 23 May 2022 13:25:17 +0800 Subject: [PATCH 2/2] fix: modify to fix specifictions macros --- .../zh-cn/web/api/abortcontroller/index.html | 20 +++++++------------ .../web/api/ambientlightsensor/index.html | 2 ++ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/files/zh-cn/web/api/abortcontroller/index.html b/files/zh-cn/web/api/abortcontroller/index.html index f2b7fcb57dff05..b54395367cc63b 100644 --- a/files/zh-cn/web/api/abortcontroller/index.html +++ b/files/zh-cn/web/api/abortcontroller/index.html @@ -19,14 +19,14 @@

构造函数

{{domxref("AbortController.AbortController()")}}
-
创建一个新的 AbortController 对象实例。
+
创建一个新的 AbortController 对象实例。

属性

{{domxref("AbortController.signal")}} {{readonlyInline}}
-
返回一个 {{domxref("AbortSignal")}} 对象实例,它可以用来 with/abort 一个 Web(网络)请求。
+
返回一个 {{domxref("AbortSignal")}} 对象实例,它可以用来 with/abort 一个 Web(网络)请求。

方法

@@ -38,11 +38,11 @@

方法

示例

-

在下面的代码片段中,我们想通过 Fetch API 下载一段视频。

+

在下面的代码片段中,我们想通过 Fetch API 下载一段视频。

-

我们先使用 {{domxref("AbortController.AbortController","AbortController()")}} 构造函数创建一个控制器,然后使用 {{domxref("AbortController.signal")}} 属性获取其关联 {{domxref("AbortSignal")}} 对象的引用。

+

我们先使用 {{domxref("AbortController.AbortController","AbortController()")}} 构造函数创建一个控制器,然后使用 {{domxref("AbortController.signal")}} 属性获取其关联 {{domxref("AbortSignal")}} 对象的引用。

-

当一个 fetch request 初始化,我们把 AbortSignal 作为一个选项传递到到请求对象(如下 { signal })。这将 signalcontroller 与这个 fetch request 相关联,然后允许我们通过调用 {{domxref("AbortController.abort()")}} 中止请求,如下第二个事件监听函数。

+

当一个 fetch request 初始化,我们把 AbortSignal 作为一个选项传递到到请求对象(如下 { signal })。这将 signalcontroller 与这个 fetch request 相关联,然后允许我们通过调用 {{domxref("AbortController.abort()")}} 中止请求,如下第二个事件监听函数。

const controller = new AbortController();
 let signal = controller.signal;
@@ -78,17 +78,11 @@ 

规范

浏览器兼容

- - -

{{Compat("api.AbortController")}}

+{{Compat}}

参见

- -
-
-
diff --git a/files/zh-cn/web/api/ambientlightsensor/index.html b/files/zh-cn/web/api/ambientlightsensor/index.html index 8e694c666e89c2..e518805f01f322 100644 --- a/files/zh-cn/web/api/ambientlightsensor/index.html +++ b/files/zh-cn/web/api/ambientlightsensor/index.html @@ -25,6 +25,8 @@

Examples

// TBD
+

规范

+ {{Specifications}}

浏览器兼容性