diff options
author | MDN <actions@users.noreply.github.com> | 2021-06-06 00:57:45 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-06-06 00:57:45 +0000 |
commit | 6781d84b8a98f4c28efebaf7ed15d0666083ef11 (patch) | |
tree | b41358d544b1e542eb075488ec3b95333b11aa1d /files/zh-cn/orphaned/web | |
parent | 32530cee2c4594f72494b9d6862c493aaabc0bac (diff) | |
download | translated-content-6781d84b8a98f4c28efebaf7ed15d0666083ef11.tar.gz translated-content-6781d84b8a98f4c28efebaf7ed15d0666083ef11.tar.bz2 translated-content-6781d84b8a98f4c28efebaf7ed15d0666083ef11.zip |
[CRON] sync translated content
Diffstat (limited to 'files/zh-cn/orphaned/web')
-rw-r--r-- | files/zh-cn/orphaned/web/api/element/runtimestyle/index.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/files/zh-cn/orphaned/web/api/element/runtimestyle/index.html b/files/zh-cn/orphaned/web/api/element/runtimestyle/index.html new file mode 100644 index 0000000000..80aca7048a --- /dev/null +++ b/files/zh-cn/orphaned/web/api/element/runtimestyle/index.html @@ -0,0 +1,77 @@ +--- +title: Element.runtimeStyle +slug: orphaned/Web/API/Element/runtimeStyle +translation_of: Web/API/Element/runtimeStyle +original_slug: Web/API/Element/runtimeStyle +--- +<div>{{APIRef("DOM")}}</div> + +<p>{{ Non-standard_header() }}</p> + +<h2 id="概要">概要</h2> + +<p><span class="seoSummary"><strong><code>Element.runtimeStyle</code> </strong>是一个元素专有属性,和 {{domxref("HTMLElement.style")}} 相似,除了其中的样式属性外<strong>,</strong>{{domxref("HTMLElement.style")}} 具有更高的优先级和修改能力。<strong><code>runtimeStyle</code> </strong></span>不能修改 <code><a href="/en-US/docs/Web/HTML/Global_attributes/style">style</a></code> 中的<code>content</code>属性,其<span class="seoSummary">在旧版的IE浏览器上可用。</span></p> + +<h2 id="规范">规范</h2> + +<p>不属于任何规范的一部分。</p> + +<p>微软对此有一篇<a href="https://msdn.microsoft.com/en-us/library/ms535889(v=vs.85).aspx">描述文档</a> <a href="https://msdn.microsoft.com/en-us/library/ms535889(v=vs.85).aspx">has a description on MSDN</a>.</p> + +<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>特性</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Microsoft Edge</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>基本支持</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>6</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</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>基本支持</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatNo() }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="相关链接">相关链接</h2> + +<ul> + <li>{{domxref("Element.currentStyle")}}</li> +</ul> |