aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/document/queryselector
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:01:54 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:02:45 +0800
commitc46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch)
treefe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/document/queryselector
parente671353fc364cef89441d031e0e8b9300b67951b (diff)
downloadtranslated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/document/queryselector')
-rw-r--r--files/zh-tw/web/api/document/queryselector/index.html49
1 files changed, 2 insertions, 47 deletions
diff --git a/files/zh-tw/web/api/document/queryselector/index.html b/files/zh-tw/web/api/document/queryselector/index.html
index a79edb1c1f..602ee9aa11 100644
--- a/files/zh-tw/web/api/document/queryselector/index.html
+++ b/files/zh-tw/web/api/document/queryselector/index.html
@@ -42,53 +42,8 @@ document.querySelector('#foo\\:bar') // 選到第二個 div
&lt;/script&gt;
</pre>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">瀏覽器相容性</h2>
-<p>{{CompatibilityTable()}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>功能特色</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支援</td>
- <td>1</td>
- <td>3.5 (1.9.1)<br>
- {{bug(416317)}}</td>
- <td>8</td>
- <td>10</td>
- <td>3.2 (525.3)<br>
- {{Webkitbug("16587")}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>功能特色</th>
- <th>Android</th>
- <th>Firefox 行動版 (Gecko)</th>
- <th>IE 行動版</th>
- <th>Opera 行動版</th>
- <th>Safari 行動版</th>
- </tr>
- <tr>
- <td>基本支援</td>
- <td>2.1</td>
- <td>有</td>
- <td>9</td>
- <td>10.0</td>
- <td>3.2</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Document.querySelector")}}
+
<h2 id="Specification" name="Specification">規格文件</h2>
<ul>
<li><a class="external" href="http://www.w3.org/TR/selectors-api/" title="http://www.w3.org/TR/selectors-api/">Selectors API</a></li>