aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/element/classlist/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/api/element/classlist/index.html')
-rw-r--r--files/zh-tw/web/api/element/classlist/index.html70
1 files changed, 1 insertions, 69 deletions
diff --git a/files/zh-tw/web/api/element/classlist/index.html b/files/zh-tw/web/api/element/classlist/index.html
index 5a78d9aaa9..3cbdbed77c 100644
--- a/files/zh-tw/web/api/element/classlist/index.html
+++ b/files/zh-tw/web/api/element/classlist/index.html
@@ -325,75 +325,7 @@ if (objCtr.defineProperty) {
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>10<sup>[1]</sup></td>
- <td>11.50</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>toggle method's second argument</td>
- <td>24</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("24")}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>15</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<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>3.0</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>10</td>
- <td>11.10</td>
- <td>5.0</td>
- </tr>
- <tr>
- <td>toggle method's second argument</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("24")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Not supported for SVG elements.  See <a href="https://connect.microsoft.com/IE/feedback/details/1046039/classlist-not-working-on-svg-elements">a report at Microsoft about that</a>.<br>
- [2] Internet Explorer never implemented this. See <a href="https://connect.microsoft.com/IE/feedback/details/878564/element-classlist-toggle-does-not-support-second-parameter">a report at Microsoft about that</a>.</p>
+{{Compat("api.Element.classList")}}
<h2 id="參見">參見</h2>