aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/zh-tw/web/api/channel_messaging_api/index.html90
-rw-r--r--files/zh-tw/web/api/fullscreen_api/index.html86
-rw-r--r--files/zh-tw/web/api/webgl_api/index.html157
-rw-r--r--files/zh-tw/web/api/webvtt_api/index.html52
-rw-r--r--files/zh-tw/web/css/css_color/index.html54
5 files changed, 41 insertions, 398 deletions
diff --git a/files/zh-tw/web/api/channel_messaging_api/index.html b/files/zh-tw/web/api/channel_messaging_api/index.html
index 1cf9d98692..c87ae6328b 100644
--- a/files/zh-tw/web/api/channel_messaging_api/index.html
+++ b/files/zh-tw/web/api/channel_messaging_api/index.html
@@ -61,93 +61,13 @@ translation_of: Web/API/Channel_Messaging_API
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<div>{{CompatibilityTable}}</div>
+<h3 id="MessageChannel" name="MessageChannel"><code>MessageChannel</code></h3>
-<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>4</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>5</td>
- </tr>
- <tr>
- <td>PortCollection</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessageChannel", 0)}}
+
+<h3 id="MessagePort" name="MessagePort"><code>MessagePort</code></h3>
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome Mobile</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>4</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>PortCollection</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessagePort", 0)}}
<h2 id="延伸閱讀">延伸閱讀</h2>
diff --git a/files/zh-tw/web/api/fullscreen_api/index.html b/files/zh-tw/web/api/fullscreen_api/index.html
index 182f96c922..881d22bbac 100644
--- a/files/zh-tw/web/api/fullscreen_api/index.html
+++ b/files/zh-tw/web/api/fullscreen_api/index.html
@@ -133,78 +133,26 @@ if (elem.requestFullscreen) {
<h2 id="Browser_compatibility" name="Browser_compatibility">瀏覽器兼容性</h2>
-<p>Although  Gecko , Trident, and WebKit implement a draft of this API, there are some subtle differences. This document doesn't necessarily try to call them all into focus. The article will be revised as the spec and implementations fall closer into alignment with one another.</p>
-
-<p>{{ CompatibilityTable() }}</p>
-
-<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>15 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("9.0") }} {{ property_prefix("-moz") }}</td>
- <td>11 {{ property_prefix("-ms") }}</td>
- <td>12.10</td>
- <td>5.0 {{ property_prefix("-webkit") }}</td>
- </tr>
- <tr>
- <td><code>fullscreenEnabled</code></td>
- <td>20 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("10.0") }} {{ property_prefix("-moz") }}</td>
- <td>11 {{ property_prefix("-ms") }}</td>
- <td>12.10</td>
- <td>5.1 {{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h3>Document.fullscreen</h3>
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>28 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}{{ property_prefix("-moz") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>fullscreenEnabled</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>28 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("10.0") }} {{ property_prefix("moz") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.fullscreen")}}
+
+<h3>Document.fullscreenElement</h3>
+
+{{Compat("api.Document.fullscreenElement")}}
+
+<h3>Document.fullscreenEnabled</h3>
+
+{{Compat("api.Document.fullscreenEnabled")}}
+
+<h3>Document.exitFullscreen</h3>
+
+{{Compat("api.Document.exitFullscreen")}}
+
+<h3>Element.requestFullscreen</h3>
-<h3 id="Gecko_notes">Gecko notes</h3>
+{{Compat("api.Element.requestFullscreen")}}
-<p>Although this API was introduced in Gecko 9.0 {{ geckoRelease("9.0") }}, it's not enabled by default in that release. To enable it, set the <code>full-screen-api.enabled</code> preference to <code>true</code>. The API is enabled by default in Gecko 10.0 {{ geckoRelease("10.0") }}. In Gecko all the API is spelt "fullScreen".</p>
<h2 id="Specification" name="Specification">規範</h2>
diff --git a/files/zh-tw/web/api/webgl_api/index.html b/files/zh-tw/web/api/webgl_api/index.html
index 561594474c..b31f96c2d8 100644
--- a/files/zh-tw/web/api/webgl_api/index.html
+++ b/files/zh-tw/web/api/webgl_api/index.html
@@ -78,158 +78,13 @@ translation_of: Web/API/WebGL_API
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支援</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9</td>
- <td>11</td>
- <td>12 (experiment)</td>
- <td>5.1 (experiment)</td>
- </tr>
- <tr>
- <td><a href="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt" title="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt"><code>OES_texture_float</code></a></td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/" title="http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/"><code>OES_standard_derivatives</code></a></td>
- <td>{{CompatGeckoDesktop("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="/en-US/docs/WebGL/Using_Extensions#EXT_texture_filter_anisotropic" title="WebGL/Using_Extensions#EXT_texture_filter_anisotropic"><code>EXT_texture_filter_anisotropic</code></a></td>
- <td>{{CompatGeckoDesktop("13.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="/en-US/docs/WebGL/Using_Extensions#WEBGL_compressed_texture_s3tc" title="WebGL/Using_Extensions#WEBGL_compressed_texture_s3tc"><code>WEBGL_compressed_texture_s3tc</code></a></td>
- <td>{{CompatGeckoDesktop("15.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>drawingBufferWidth</code> and <code>drawingBufferHeight</code> attributes</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h3>WebGL 1</h3>
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Chrome for Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>25 (experiment)</td>
- <td>{{CompatNo}}</td>
- <td>12 (experiment)</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>drawingBufferWidth</code> and <code>drawingBufferHeight</code> attributes</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt" title="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt"><code>OES_texture_float</code></a></td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/" title="http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/"><code>OES_standard_derivatives</code></a></td>
- <td>{{CompatGeckoMobile("10.0")}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="/en-US/docs/WebGL/Using_Extensions#EXT_texture_filter_anisotropic" title="WebGL/Using_Extensions#EXT_texture_filter_anisotropic"><code>EXT_texture_filter_anisotropic</code></a></td>
- <td>{{CompatGeckoMobile("13.0")}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_element_index_uint</code></td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_vertex_array_object</code></td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><a href="/en-US/docs/WebGL/Using_Extensions#WEBGL_compressed_texture_s3tc" title="WebGL/Using_Extensions#WEBGL_compressed_texture_s3tc"><code>WEBGL_compressed_texture_s3tc</code></a></td>
- <td>{{CompatGeckoMobile("15.0")}}</td>
- <td>25<br>
- prefixed with <span style="color: #222222; font-family: courier new,monospace; font-size: 12.66px; line-height: normal; white-space: pre-wrap;">WEBKIT_</span></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBKIT_EXT_texture_filter_nisotropic</code></td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WebGLRenderingContext", 0)}}
+
+<h3>WebGL 2</h3>
+
+{{Compat("api.WebGL2RenderingContext", 0)}}
<h3 id="相容性小記">相容性小記</h3>
diff --git a/files/zh-tw/web/api/webvtt_api/index.html b/files/zh-tw/web/api/webvtt_api/index.html
index ced3fbc23c..61913c369d 100644
--- a/files/zh-tw/web/api/webvtt_api/index.html
+++ b/files/zh-tw/web/api/webvtt_api/index.html
@@ -633,57 +633,13 @@ That's &lt;00:00:21.000&gt;amore
<h2 id="瀏覽器支援">瀏覽器支援</h2>
-<p>{{ CompatibilityTable() }}</p>
+<h3><code>VTTCue</code> interface</h3>
-<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</th>
- </tr>
- <tr>
- <td>基本支援</td>
- <td>18 以上</td>
- <td>24 (<a href="https://wiki.mozilla.org/WebVTT" title="https://wiki.mozilla.org/WebVTT">預設為關閉</a>)</td>
- <td>10 以上</td>
- <td>15.0 以上</td>
- <td> 7 以上</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.VTTCue", 0)}}
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IChrome for Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支援</td>
- <td>4.4 以上</td>
- <td>       目前尚不支援</td>
- <td>         35.0 以上</td>
- <td>   21.0 以上</td>
- <td>7 以上</td>
- </tr>
- </tbody>
-</table>
-
-<p> </p>
+<h3><code>TextTrack</code> interface</h3>
-<p> </p>
-</div>
+{{Compat("api.TextTrack", 0)}}
<h2 id="規格">規格</h2>
diff --git a/files/zh-tw/web/css/css_color/index.html b/files/zh-tw/web/css/css_color/index.html
index bd5fb736d5..ae02d76afa 100644
--- a/files/zh-tw/web/css/css_color/index.html
+++ b/files/zh-tw/web/css/css_color/index.html
@@ -66,53 +66,17 @@ original_slug: Web/CSS/CSS_Colors
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
+<h3><code>color</code> property</h3>
-<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.color")}}
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h3><code>print-color-adjust</code> property</h3>
+
+{{Compat("css.properties.print-color-adjust")}}
+
+<h3><code>opacity</code> property</h3>
+
+{{Compat("css.properties.opacity")}}
<h2 id="See_also">See also</h2>