aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/domimplementation/hasfeature
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/domimplementation/hasfeature')
-rw-r--r--files/zh-cn/web/api/domimplementation/hasfeature/index.html63
1 files changed, 2 insertions, 61 deletions
diff --git a/files/zh-cn/web/api/domimplementation/hasfeature/index.html b/files/zh-cn/web/api/domimplementation/hasfeature/index.html
index daa355c026..2f105539a2 100644
--- a/files/zh-cn/web/api/domimplementation/hasfeature/index.html
+++ b/files/zh-cn/web/api/domimplementation/hasfeature/index.html
@@ -50,67 +50,8 @@ translation_of: Web/API/DOMImplementation/hasFeature
</tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<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>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Always <code>true</code> for non-SVG features.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</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>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Always <code>true</code> for non-SVG features.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.DOMImplementation.hasFeature")}}
+
<h2 id="See_also">See also</h2>
<ul>
<li>The {{domxref("DOMImplementation")}} interface it belongs to.</li>