aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/performance
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/performance')
-rw-r--r--files/zh-cn/web/api/performance/clearmarks/index.html58
-rw-r--r--files/zh-cn/web/api/performance/clearmeasures/index.html58
-rw-r--r--files/zh-cn/web/api/performance/mark/index.html58
-rw-r--r--files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html64
-rw-r--r--files/zh-cn/web/api/performance/timeorigin/index.html50
5 files changed, 5 insertions, 283 deletions
diff --git a/files/zh-cn/web/api/performance/clearmarks/index.html b/files/zh-cn/web/api/performance/clearmarks/index.html
index 5ccd6a016b..5dedec0953 100644
--- a/files/zh-cn/web/api/performance/clearmarks/index.html
+++ b/files/zh-cn/web/api/performance/clearmarks/index.html
@@ -73,60 +73,4 @@ function clear_all_marks() {
<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>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.clearMarks")}}
diff --git a/files/zh-cn/web/api/performance/clearmeasures/index.html b/files/zh-cn/web/api/performance/clearmeasures/index.html
index 66cd9b0685..bd4888f5cf 100644
--- a/files/zh-cn/web/api/performance/clearmeasures/index.html
+++ b/files/zh-cn/web/api/performance/clearmeasures/index.html
@@ -75,60 +75,4 @@ function clear_all_measures() {
<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>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.clearMeasures")}}
diff --git a/files/zh-cn/web/api/performance/mark/index.html b/files/zh-cn/web/api/performance/mark/index.html
index 2ad91c1edb..f55e6c4b64 100644
--- a/files/zh-cn/web/api/performance/mark/index.html
+++ b/files/zh-cn/web/api/performance/mark/index.html
@@ -95,60 +95,4 @@ performance.clearMarks();</pre>
<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>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic Support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.mark")}}
diff --git a/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html b/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
index 452955edf0..7e26cf4793 100644
--- a/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
+++ b/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
@@ -53,69 +53,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for 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>Basic support.</td>
- <td>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.onresourcetimingbufferfull")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/performance/timeorigin/index.html b/files/zh-cn/web/api/performance/timeorigin/index.html
index d7d38f6781..37a7230b3c 100644
--- a/files/zh-cn/web/api/performance/timeorigin/index.html
+++ b/files/zh-cn/web/api/performance/timeorigin/index.html
@@ -34,52 +34,4 @@ translation_of: Web/API/Performance/timeOrigin
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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>{{CompatChrome(62)}}</td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(49)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for 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>{{CompatChrome(62)}}</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatGeckoMobile(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(49)}}</td>
- <td>{{CompatUnknown}}只读属性  <strong><code><font face="Courier New">timeOrigin</font></code></strong> timestampperformance.timeOrigin</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.timeOrigin")}}