Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace old-style compat/specification tables #7455

Merged
merged 2 commits into from
Aug 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 2 additions & 65 deletions files/zh-cn/conflicting/web/api/audionode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,71 +32,8 @@ <h3 id="参数">参数</h3>

<h2 id="规范">规范</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('Web Audio API','#audionodeoptions','AudioNodeOptions')}}</td>
<td>{{Spec2('Web Audio API')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<div>{{CompatibilityTable}}</div>

<div id="compat-desktop">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Chrome</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari (WebKit)</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatChrome(55.0)}}</td>
<td>{{CompatGeckoDesktop(53)}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatOpera(42)}}</td>
<td>{{CompatUnknown}}</td>
</tr>
</tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Android</th>
<th>Android Webview</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Mobile</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
<th>Chrome for Android</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatNo}}</td>
<td>{{CompatChrome(55.0)}}</td>
<td>{{CompatGeckoMobile(53)}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatOperaMobile(42)}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatChrome(55.0)}}</td>
</tr>
</tbody>
</table>
</div>
{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,11 @@ <h2 id="语法">语法</h2>

<h2 id="规范">规范</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">规范</th>
<th scope="col">状态</th>
<th scope="col">备注</th>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', '#handler-broadcastchannel-onmessageerror', 'onmessageerror')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<div>


<p>{{Compat("api.BroadcastChannel.onmessageerror")}}</p>
</div>
{{Compat}}

<h2 id="另见">另见</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,26 +95,13 @@ <h6 id="Playable_code">Playable code</h6>

<p>{{ EmbedLiveSample('Playable_code', 700, 420) }}</p>

<h2 id="规范描述">规范描述</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG', "scripting.html#dom-context-2d-currenttransform", "CanvasRenderingContext2D.currentTransform")}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="规范">规范</h2>

{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

{{Compat("api.CanvasRenderingContext2D.currentTransform")}}
{{Compat}}

<h2 id="参见">参见</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,38 +74,16 @@ <h2 id="Example">Example</h2>
}
</pre>

<h2 id="Specification" name="Specification">Specifications</h2>
<h2 id="规范">规范</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('DOM WHATWG', '#nodeFilter', 'NodeFilter.acceptNode()')}}</td>
<td>{{Spec2('DOM WHATWG')}}</td>
<td>No change from {{SpecName('DOM2 Traversal_Range')}}</td>
</tr>
<tr>
<td>{{SpecName('DOM2 Traversal_Range', 'traversal.html#Traversal-NodeFilter', 'NodeFilter.acceptNode()')}}</td>
<td>{{Spec2('DOM2 Traversal_Range')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>
<h2 id="浏览器兼容性">浏览器兼容性</h2>

{{Compat("api.NodeFilter.acceptNode")}}
{{Compat}}

<h2 id="See_also">See also</h2>

<ul>
<li>The interface it belongs to: {{domxref("NodeFilter")}}.</li>
</ul>

<dl>
<dt> </dt>
</dl>
Original file line number Diff line number Diff line change
Expand Up @@ -83,31 +83,11 @@ <h2 id="示例">示例</h2>

<h2 id="规范">规范</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">规范</th>
<th scope="col">状态</th>
<th scope="col">备注</th>
</tr>
<tr>
<td>{{SpecName('DOM WHATWG', '#interface-nodefilter', 'NodeFilter')}}</td>
<td>{{Spec2('DOM WHATWG')}}</td>
<td></td>
</tr>
<tr>
<td>{{SpecName('DOM2 Traversal_Range', 'traversal.html#Traversal-NodeFilter', 'NodeFilter')}}</td>
<td>{{Spec2('DOM2 Traversal_Range')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>



<p>{{Compat("api.NodeFilter")}}</p>
{{Compat}}

<h2 id="参见">参见</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,11 @@ <h2 id="示例">示例</h2>

<h2 id="规范">规范</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName("Fullscreen", "#handler-document-onfullscreenchange", "onfullscreenchange")}}</td>
<td>{{Spec2("HTML WHATWG")}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>
<h2 id="浏览器兼容性">浏览器兼容性</h2>

<p>{{Compat("api.Document.onfullscreenchange")}}</p>
{{Compat}}

<h2 id="相关文章">相关文章</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,13 @@ <h2 id="Example">Example</h2>

<p>详细用法参见 <a href="https://github.com/chrisdavidmills/selection-api-examples/#key-quote-generator-see-it-running-live">Key quote generator</a> 示例。</p>

<h2 id="Specifications">Specifications</h2>

<table class="spectable standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('Selection API','#dom-globaleventhandlers-onselectstart','GlobalEventHandlers.onselectstart')}}</td>
<td>{{Spec2('Selection API')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

{{Compat("api.GlobalEventHandlers.onselectstart")}}
<h2 id="规范">规范</h2>

{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

{{Compat}}

<h2 id="See_also">See also</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,13 @@ <h2 id="例子">例子</h2>
};
</pre>

<h2 id="标准">标准</h2>

<table class="spectable standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('Page Visibility API','#onvisiblitychange-event-handler','onvisibilitychange')}}</td>
<td>{{Spec2('Page Visibility API')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>

<h2 id="浏览器兼容性">浏览器兼容性</h2>
<h2 id="规范">规范</h2>

{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<p>{{Compat("api.Document.onvisibilitychange")}}</p>
{{Compat}}

<h2 id="另见">另见</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
<h2 id="常规信息">常规信息</h2>

<dl>
<dt>规范</dt>
<dd>{{SpecName("CSS3 Animations")}}</dd>
<dt>接口</dt>
<dd>{{domxref("AnimationEvent")}}</dd>
<dt>是否冒泡</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,25 +86,8 @@ <h3 id="示例2:捕获隐藏单词的输入">示例 2:捕获隐藏单词的

<h2 id="规范">规范</h2>

<table class="spectable standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG','webappapis.html#handler-onkeypress','onkeypress')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
</tr>
</tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<div>


<p>{{Compat("api.GlobalEventHandlers.onkeypress")}}</p>
</div>
{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

{{Compat}}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,13 @@ <h2 id="语法">语法</h2>

<p><code>handlerFunction</code> 可以是 <code>null</code> 或者一个用于处理事件的<a href="/en-US/docs/Web/JavaScript/Reference/Functions" title="/en-US/docs/JavaScript/Reference/Functions_and_function_scope">JavaScript 函数</a> 。</p>

<h2 id="规格">规格</h2>

<table class="spectable standard-table">
<tbody>
<tr>
<th scope="col">规格</th>
<th scope="col">状态</th>
<th scope="col">注释</th>
</tr>
<tr>
<td>{{SpecName('HTML WHATWG','#handler-onmouseenter','onmouseenter')}}</td>
<td>{{Spec2('HTML WHATWG')}}</td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="规范">规范</h2>

{{Specifications}}

<h2 id="浏览器兼容性">浏览器兼容性</h2>

<p>{{Compat("api.GlobalEventHandlers.onmouseenter")}}</p>
{{Compat}}

<h2 id="同样可看">同样可看</h2>

Expand Down
Loading