diff options
Diffstat (limited to 'files/zh-cn/web/api/cssstyledeclaration')
4 files changed, 4 insertions, 225 deletions
diff --git a/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html b/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html index a2881f7aa9..c142a4c9c6 100644 --- a/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html +++ b/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html @@ -62,58 +62,4 @@ var isImportant = declaration.getPropertyPriority('margin') === 'important'; <h2 id="浏览器兼容性"><strong>浏览器兼容性</strong></h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <thead> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Edge</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari (WebKit)</th> - </tr> - </thead> - <tbody> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</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 Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.CSSStyleDeclaration.getPropertyPriority")}} diff --git a/files/zh-cn/web/api/cssstyledeclaration/item/index.html b/files/zh-cn/web/api/cssstyledeclaration/item/index.html index f3e5350ef9..58d57fcbac 100644 --- a/files/zh-cn/web/api/cssstyledeclaration/item/index.html +++ b/files/zh-cn/web/api/cssstyledeclaration/item/index.html @@ -60,58 +60,4 @@ var propertyName = style.item(1); // or simply style[1] - returns the second sty <p><strong>浏览器兼容性</strong></p> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <thead> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Edge</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari (WebKit)</th> - </tr> - </thead> - <tbody> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</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 Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.CSSStyleDeclaration.item")}} diff --git a/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html b/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html index b4437515b3..32db25a32a 100644 --- a/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html +++ b/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html @@ -68,58 +68,4 @@ var oldValue = declaration.removeProperty('margin'); <h2 id="浏览器支持情况">浏览器支持情况</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <thead> - <tr> - <th scope="col">Feature</th> - <th scope="col">Chrome</th> - <th scope="col">Edge</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari (WebKit)</th> - </tr> - </thead> - <tbody> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</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 Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.CSSStyleDeclaration.removeProperty")}} diff --git a/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html b/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html index 269faaad26..bf05a144bf 100644 --- a/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html +++ b/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html @@ -75,63 +75,4 @@ declaration.setProperty('margin', '1px 2px'); <h2 id="浏览器兼容">浏览器兼容</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <thead> - <tr> - <th scope="col">特性</th> - <th scope="col">Chrome</th> - <th scope="col">Edge</th> - <th scope="col">Firefox (Gecko)</th> - <th scope="col">Internet Explorer</th> - <th scope="col">Opera</th> - <th scope="col">Safari (WebKit)</th> - </tr> - </thead> - <tbody> - <tr> - <td>基础支持</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>特性</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>基础支持</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> - -<div> -<h3 id="want_learn_more">want learn more</h3> -<a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Window/getComputedStyle">getComputedStyle</a><br> -<a href="https://developer.mozilla.org/zh-CN/docs/Web/API/CSSStyleDeclaration/getPropertyValue">getPropertyValue</a></div> -</div> +{{Compat("api.CSSStyleDeclaration.setProperty")}} |