aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/selection/tostring/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/selection/tostring/index.html')
-rw-r--r--files/zh-cn/web/api/selection/tostring/index.html50
1 files changed, 1 insertions, 49 deletions
diff --git a/files/zh-cn/web/api/selection/tostring/index.html b/files/zh-cn/web/api/selection/tostring/index.html
index c7177c12c6..b4747dcead 100644
--- a/files/zh-cn/web/api/selection/tostring/index.html
+++ b/files/zh-cn/web/api/selection/tostring/index.html
@@ -55,55 +55,7 @@ alert(window.getSelection().toString()) // 真实情况
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</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>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础特性</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.toString")}}
<h2 id="See_also" name="See_also">参考</h2>