diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:22:51 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:03:17 +0800 |
commit | 9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch) | |
tree | 6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/svg | |
parent | eeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff) | |
download | translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2 translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip |
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/svg')
33 files changed, 32 insertions, 1712 deletions
diff --git a/files/zh-cn/web/svg/element/a/index.html b/files/zh-cn/web/svg/element/a/index.html index f8c97e0f44..597c101d51 100644 --- a/files/zh-cn/web/svg/element/a/index.html +++ b/files/zh-cn/web/svg/element/a/index.html @@ -67,54 +67,4 @@ translation_of: Web/SVG/Element/a <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('9.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p> - -<p>{{note("No browser supports the full XLink set.")}}</p> +{{Compat("svg.elements.a")}} diff --git a/files/zh-cn/web/svg/element/altglyph/index.html b/files/zh-cn/web/svg/element/altglyph/index.html index f9c25d6c68..64dbd95405 100644 --- a/files/zh-cn/web/svg/element/altglyph/index.html +++ b/files/zh-cn/web/svg/element/altglyph/index.html @@ -52,57 +52,7 @@ translation_of: Web/SVG/Element/altGlyph <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{CompatGeckoDesktop('2.0')}} [1]</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera('10.6')}}</td> - <td>{{CompatSafari('4.0')}}</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>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile('2.0')}}<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>{{CompatOperaMobile('11.0')}}</td> - <td>{{CompatSafari('4.0')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 部分支持,请看<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=456286">bug 456286</a> 以及<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571808">bug 571808</a>.</p> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.altGlyph")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/animate/index.html b/files/zh-cn/web/svg/element/animate/index.html index 3c7e98145a..637576ebce 100644 --- a/files/zh-cn/web/svg/element/animate/index.html +++ b/files/zh-cn/web/svg/element/animate/index.html @@ -94,52 +94,4 @@ translation_of: Web/SVG/Element/animate <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>{{CompatChrome('2.0')}}</td> - <td>{{CompatGeckoDesktop("2.0")}}</td> - <td>{{CompatNo}}</td> - <td>9.0</td> - <td>{{CompatSafari('4.0')}}</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>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("2.0")}}</td> - <td>{{CompatNo}}</td> - <td>9.5</td> - <td>{{CompatSafari('4.0')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.animate")}} diff --git a/files/zh-cn/web/svg/element/animatecolor/index.html b/files/zh-cn/web/svg/element/animatecolor/index.html index a9ca7d2387..5c2faefc28 100644 --- a/files/zh-cn/web/svg/element/animatecolor/index.html +++ b/files/zh-cn/web/svg/element/animatecolor/index.html @@ -84,51 +84,7 @@ translation_of: Web/SVG/Element/animateColor <h2 id="Browser_compatibility">Browser compatibility</h2> -<p>{{CompatibilityTable}}</p> - -<table> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> - -<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>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> +{{Compat("svg.elements.animateColor")}} <h2 id="See_also">See also</h2> diff --git a/files/zh-cn/web/svg/element/circle/index.html b/files/zh-cn/web/svg/element/circle/index.html index c660234c1a..4f822a81f8 100644 --- a/files/zh-cn/web/svg/element/circle/index.html +++ b/files/zh-cn/web/svg/element/circle/index.html @@ -56,55 +56,7 @@ translation_of: Web/SVG/Element/circle <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th scope="col">功能</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>基本支持</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支持</td> - <td>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.circle")}} <h2 id="相关内容">相关内容</h2> diff --git a/files/zh-cn/web/svg/element/defs/index.html b/files/zh-cn/web/svg/element/defs/index.html index 775eefd896..933bba4a9e 100644 --- a/files/zh-cn/web/svg/element/defs/index.html +++ b/files/zh-cn/web/svg/element/defs/index.html @@ -57,55 +57,7 @@ translation_of: Web/SVG/Element/defs <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>.</p> +{{Compat("svg.elements.defs")}} <h2 id="相关内容">相关内容</h2> diff --git a/files/zh-cn/web/svg/element/desc/index.html b/files/zh-cn/web/svg/element/desc/index.html index d5d778eea5..1decb9b81e 100644 --- a/files/zh-cn/web/svg/element/desc/index.html +++ b/files/zh-cn/web/svg/element/desc/index.html @@ -37,53 +37,7 @@ translation_of: Web/SVG/Element/desc <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("svg.elements.desc")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/ellipse/index.html b/files/zh-cn/web/svg/element/ellipse/index.html index 6c68c8c711..6810b64095 100644 --- a/files/zh-cn/web/svg/element/ellipse/index.html +++ b/files/zh-cn/web/svg/element/ellipse/index.html @@ -52,55 +52,7 @@ translation_of: Web/SVG/Element/ellipse <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th scope="col">功能</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>基本支持</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支持</td> - <td>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources" title="en-US/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.ellipse")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/feimage/index.html b/files/zh-cn/web/svg/element/feimage/index.html index 03cdc4120f..dc1cce54ff 100644 --- a/files/zh-cn/web/svg/element/feimage/index.html +++ b/files/zh-cn/web/svg/element/feimage/index.html @@ -88,61 +88,7 @@ translation_of: Web/SVG/Element/feImage <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{CompatibilityTable}}</p> - -<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</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop('2.0')}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatOpera('9.0')}}</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>Edge</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>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 部分支持,请参阅 {{bug(455986)}}.</p> - -<p>图表是基于 <a href="/en-US/SVG/Compatibility_sources">these sources</a> 的。</p> +{{Compat("svg.elements.feImage")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/filter/index.html b/files/zh-cn/web/svg/element/filter/index.html index 2ca6bf0792..3b1970b1fd 100644 --- a/files/zh-cn/web/svg/element/filter/index.html +++ b/files/zh-cn/web/svg/element/filter/index.html @@ -90,57 +90,7 @@ translation_of: Web/SVG/Element/filter <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{ CompatGeckoDesktop('2.0') }}</td> - <td>{{ CompatIE('10.0') }}</td> - <td>9.0</td> - <td>{{ CompatSafari('3.0') }}</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>{{CompatVersionUnknown}}</td> - <td>{{ CompatGeckoMobile('2.0') }}</td> - <td>{{CompatNo}}</td> - <td>9.5</td> - <td>{{ CompatSafari('3.0') }}[1]</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 在Webkit浏览器上存在<a href="https://bugs.webkit.org/show_bug.cgi?id=26389">一些问题</a>。</p> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.filter")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/g/index.html b/files/zh-cn/web/svg/element/g/index.html index d75c11cc71..d43dabd181 100644 --- a/files/zh-cn/web/svg/element/g/index.html +++ b/files/zh-cn/web/svg/element/g/index.html @@ -56,52 +56,4 @@ translation_of: Web/SVG/Element/g <h2 id="浏览器兼容性">浏览器兼容性</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('8.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.g")}} diff --git a/files/zh-cn/web/svg/element/glyphref/index.html b/files/zh-cn/web/svg/element/glyphref/index.html index 5441c76747..c57e047dd5 100644 --- a/files/zh-cn/web/svg/element/glyphref/index.html +++ b/files/zh-cn/web/svg/element/glyphref/index.html @@ -49,55 +49,7 @@ translation_of: Web/SVG/Element/glyphRef <h2 id="浏览器兼容性">浏览器兼容性</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>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera('9.80')}}</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>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.glyphRef")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/image/index.html b/files/zh-cn/web/svg/element/image/index.html index 4f9f2710b8..6dfb6743d4 100644 --- a/files/zh-cn/web/svg/element/image/index.html +++ b/files/zh-cn/web/svg/element/image/index.html @@ -92,52 +92,4 @@ translation_of: Web/SVG/Element/image <h2 id="浏览器兼容性">浏览器兼容性</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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.image")}} diff --git a/files/zh-cn/web/svg/element/line/index.html b/files/zh-cn/web/svg/element/line/index.html index 6dfd6bfe11..a3d11dfa73 100644 --- a/files/zh-cn/web/svg/element/line/index.html +++ b/files/zh-cn/web/svg/element/line/index.html @@ -59,55 +59,7 @@ translation_of: Web/SVG/Element/line <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本支持</td> - <td>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('8.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支持</td> - <td>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.line")}} <h2 id="相关内容">相关内容</h2> diff --git a/files/zh-cn/web/svg/element/lineargradient/index.html b/files/zh-cn/web/svg/element/lineargradient/index.html index e9b7172c09..11cdc764df 100644 --- a/files/zh-cn/web/svg/element/lineargradient/index.html +++ b/files/zh-cn/web/svg/element/lineargradient/index.html @@ -66,59 +66,7 @@ translation_of: Web/SVG/Element/linearGradient <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('9.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{CompatNo}}</td> - <td>{{ CompatVersionUnknown}}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> - -<h3 id="sect1"> </h3> - -<p>[1] WebKit不支持<code>spread方法</code> (<a class="link-https" href="https://bugs.webkit.org/show_bug.cgi?id=5968">bug 5968</a>) 以及颜色插值 (<a class="link-https" href="https://bugs.webkit.org/show_bug.cgi?id=6034">bug 6034</a>)。</p> +{{Compat("svg.elements.linearGradient")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/marker/index.html b/files/zh-cn/web/svg/element/marker/index.html index 92473f3527..f9f389041f 100644 --- a/files/zh-cn/web/svg/element/marker/index.html +++ b/files/zh-cn/web/svg/element/marker/index.html @@ -74,52 +74,4 @@ translation_of: Web/SVG/Element/marker <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th><span style="font-family: open sans light,sans-serif; font-size: 16px; line-height: 16px;">Feature</span></th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatChrome('1.0') }}</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('9.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th><span style="font-family: open sans light,sans-serif; font-size: 16px; line-height: 16px;">Feature</span></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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.marker")}} diff --git a/files/zh-cn/web/svg/element/metadata/index.html b/files/zh-cn/web/svg/element/metadata/index.html index e3c54f7d4d..5d5a5d4168 100644 --- a/files/zh-cn/web/svg/element/metadata/index.html +++ b/files/zh-cn/web/svg/element/metadata/index.html @@ -35,52 +35,4 @@ translation_of: Web/SVG/Element/metadata <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('8.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些数据</a>。</p> +{{Compat("svg.elements.metadata")}} diff --git a/files/zh-cn/web/svg/element/path/index.html b/files/zh-cn/web/svg/element/path/index.html index 33120a9f55..fbaf9b835e 100644 --- a/files/zh-cn/web/svg/element/path/index.html +++ b/files/zh-cn/web/svg/element/path/index.html @@ -60,55 +60,7 @@ translation_of: Web/SVG/Element/path <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('8.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.path")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/polygon/index.html b/files/zh-cn/web/svg/element/polygon/index.html index 8767722c25..8b979adadb 100644 --- a/files/zh-cn/web/svg/element/polygon/index.html +++ b/files/zh-cn/web/svg/element/polygon/index.html @@ -47,55 +47,7 @@ translation_of: Web/SVG/Element/polygon <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本支持</td> - <td>{{ CompatChrome('1.0') }}</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支持</td> - <td>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.polygon")}} <h2 id="相关内容">相关内容</h2> diff --git a/files/zh-cn/web/svg/element/polyline/index.html b/files/zh-cn/web/svg/element/polyline/index.html index a67c884d46..fdcf0882a9 100644 --- a/files/zh-cn/web/svg/element/polyline/index.html +++ b/files/zh-cn/web/svg/element/polyline/index.html @@ -47,55 +47,7 @@ translation_of: Web/SVG/Element/polyline <h2 id="浏览器支持">浏览器支持</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatChrome('1.0') }}</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.polyline")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/rect/index.html b/files/zh-cn/web/svg/element/rect/index.html index d3e2d3a7e2..ea372eed0f 100644 --- a/files/zh-cn/web/svg/element/rect/index.html +++ b/files/zh-cn/web/svg/element/rect/index.html @@ -85,55 +85,7 @@ translation_of: Web/SVG/Element/rect <h2 id="浏览器支持">浏览器支持</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.rect")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/script/index.html b/files/zh-cn/web/svg/element/script/index.html index c45248af1c..a3028c68d0 100644 --- a/files/zh-cn/web/svg/element/script/index.html +++ b/files/zh-cn/web/svg/element/script/index.html @@ -71,55 +71,7 @@ translation_of: Web/SVG/Element/script <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('9.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.script")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/stop/index.html b/files/zh-cn/web/svg/element/stop/index.html index 28097fd94a..db406d5b52 100644 --- a/files/zh-cn/web/svg/element/stop/index.html +++ b/files/zh-cn/web/svg/element/stop/index.html @@ -68,55 +68,7 @@ translation_of: Web/SVG/Element/stop <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatIE('1.0')}}</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('9.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.stop")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/style/index.html b/files/zh-cn/web/svg/element/style/index.html index aa8f886674..fab606a81d 100644 --- a/files/zh-cn/web/svg/element/style/index.html +++ b/files/zh-cn/web/svg/element/style/index.html @@ -59,55 +59,7 @@ translation_of: Web/SVG/Element/style <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('9.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</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>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p> +{{Compat("svg.elements.style")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/svg/index.html b/files/zh-cn/web/svg/element/svg/index.html index fd694d1bb2..d36a11b283 100644 --- a/files/zh-cn/web/svg/element/svg/index.html +++ b/files/zh-cn/web/svg/element/svg/index.html @@ -88,54 +88,4 @@ translation_of: Web/SVG/Element/svg <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatChrome("1.0") }}</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="en-US/docs/SVG/Compatibility sources">这些来源</a>。</p> - -<p>{{SVGRef}}</p> +{{Compat("svg.elements.svg")}} diff --git a/files/zh-cn/web/svg/element/switch/index.html b/files/zh-cn/web/svg/element/switch/index.html index 133652ca3a..7e8ac9298c 100644 --- a/files/zh-cn/web/svg/element/switch/index.html +++ b/files/zh-cn/web/svg/element/switch/index.html @@ -47,54 +47,4 @@ translation_of: Web/SVG/Element/switch <h2 id="浏览器支持">浏览器支持</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>1.0</td> - <td>1.8</td> - <td>9.0</td> - <td>8.0</td> - <td>3.0.4</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</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>3.0</td> - <td>{{ CompatUnknown() }}</td> - <td>1.8</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>3.0.4</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.switch")}} diff --git a/files/zh-cn/web/svg/element/symbol/index.html b/files/zh-cn/web/svg/element/symbol/index.html index 42ddc1465b..78f0ab5eb3 100644 --- a/files/zh-cn/web/svg/element/symbol/index.html +++ b/files/zh-cn/web/svg/element/symbol/index.html @@ -63,57 +63,7 @@ translation_of: Web/SVG/Element/symbol <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - </tr> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('9.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.symbol")}} <h2 id="另见">另见</h2> diff --git a/files/zh-cn/web/svg/element/text/index.html b/files/zh-cn/web/svg/element/text/index.html index 3f1fa7eecb..20b2e073d7 100644 --- a/files/zh-cn/web/svg/element/text/index.html +++ b/files/zh-cn/web/svg/element/text/index.html @@ -98,55 +98,7 @@ translation_of: Web/SVG/Element/text <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatChrome('1.0') }}</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('8.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>这个图表基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> +{{Compat("svg.elements.text")}} <h2 id="相关内容">相关内容</h2> diff --git a/files/zh-cn/web/svg/element/title/index.html b/files/zh-cn/web/svg/element/title/index.html index 5d7013239b..5c39c262ff 100644 --- a/files/zh-cn/web/svg/element/title/index.html +++ b/files/zh-cn/web/svg/element/title/index.html @@ -51,71 +51,7 @@ translation_of: Web/SVG/Element/title <h2 id="浏览器兼容性">浏览器兼容性</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>1.0</td> - <td>{{CompatGeckoDesktop('1.8')}}</td> - <td>{{CompatIE('9.0')}}</td> - <td>{{CompatOpera('8.0')}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - <tr> - <td>Tooltip display</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop('2.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 Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatAndroid('3.0')}}</td> - <td>{{CompatGeckoMobile('1.8')}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('3.0.4')}}</td> - </tr> - <tr> - <td>Tooltip display</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop('2.0')}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些数据</a>。</p> +{{Compat("svg.elements.title")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/tref/index.html b/files/zh-cn/web/svg/element/tref/index.html index 0150f5a9a7..bc9b7f012b 100644 --- a/files/zh-cn/web/svg/element/tref/index.html +++ b/files/zh-cn/web/svg/element/tref/index.html @@ -69,53 +69,7 @@ translation_of: Web/SVG/Element/tref <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatNo() }}</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 Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("svg.elements.tref")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/tspan/index.html b/files/zh-cn/web/svg/element/tspan/index.html index 4e55a0be06..00836eb814 100644 --- a/files/zh-cn/web/svg/element/tspan/index.html +++ b/files/zh-cn/web/svg/element/tspan/index.html @@ -53,57 +53,7 @@ translation_of: Web/SVG/Element/tspan <h2 id="浏览器兼容性">浏览器兼容性</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>IE</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop('1.8') }}</td> - <td>{{ CompatIE('9.0') }}</td> - <td>{{ CompatOpera('9.0') }}</td> - <td>{{ CompatSafari('3.0.4') }}</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>{{ CompatAndroid('3.0') }}</td> - <td>{{ CompatGeckoMobile('1.8') }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatSafari('3.0.4') }}</td> - </tr> - </tbody> -</table> -</div> - -<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p> - -<p>[1] 多种外观属性不起作用。rotate属性在Gecko2.0中实现。{{geckoRelease("2.0")}}.</p> +{{Compat("svg.elements.tspan")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/svg/element/use/index.html b/files/zh-cn/web/svg/element/use/index.html index a225a0914e..faa37f981b 100644 --- a/files/zh-cn/web/svg/element/use/index.html +++ b/files/zh-cn/web/svg/element/use/index.html @@ -74,82 +74,4 @@ translation_of: Web/SVG/Element/use <h2 id="Browser_compatibility" name="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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Load from external URI</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{CompatNo()}}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Load from data: URI</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoDesktop("10.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>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Load from external URI</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - <tr> - <td>Load from data: URI</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("svg.elements.use")}} diff --git a/files/zh-cn/web/svg/svg_as_an_image/index.html b/files/zh-cn/web/svg/svg_as_an_image/index.html index 80fbdbc59b..4f397188e2 100644 --- a/files/zh-cn/web/svg/svg_as_an_image/index.html +++ b/files/zh-cn/web/svg/svg_as_an_image/index.html @@ -67,89 +67,7 @@ translation_of: Web/SVG/SVG_as_an_Image </tbody> </table> -<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</th> - </tr> - <tr> - <td>in HTML {{HTMLElement("img")}}</td> - <td>4.0</td> - <td>{{CompatGeckoDesktop("2")}}</td> - <td>9</td> - <td>9.0</td> - <td>4</td> - </tr> - <tr> - <td>in CSS background</td> - <td>4.0</td> - <td>{{CompatGeckoDesktop("2")}}</td> - <td>9</td> - <td>9.5</td> - <td>5</td> - </tr> - <tr> - <td>in other contexts</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop("2")}}</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>in HTML {{HTMLElement("img")}}</td> - <td>3.0</td> - <td>{{CompatGeckoMobile("2")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>4.0</td> - </tr> - <tr> - <td>in CSS background</td> - <td>3.0</td> - <td>{{CompatGeckoMobile("2")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>3.2<sup>[1]</sup></td> - </tr> - <tr> - <td>in other contexts</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("2")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Safari移动浏览器只有在CSS background中实现了对SVG的部分支持</p> <h2 id="参见">参见</h2> |