Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1069816 of Element.runtimeStyle

  • Revision slug: Web/API/Element/runtimeStyle
  • Revision title: Element.runtimeStyle
  • Revision id: 1069816
  • Created:
  • Creator: PushpitaPikuDey
  • Is current revision? Yes
  • Comment

Revision Content

{{APIRef("DOM")}}

{{ Non-standard_header() }}

Summary

Element.runtimeStyle is a proprietary property  similar to {{domxref("HTMLElement.style")}}, except its styles, that have higher precedence and modification.It does not modify the style content attribute. It is available in old versions of Microsoft Internet Explorer.

Specification

Not a part of any specification.

Microsoft has a description on MSDN.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Microsoft Edge Opera Safari (WebKit)
Basic support {{ CompatNo() }} {{ CompatNo() }} 6 {{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatNo() }} {{ CompatNo() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatNo() }}

See also

  • {{domxref("Element.currentStyle")}}

Revision Source

<div>{{APIRef("DOM")}}</div>

<p>{{ Non-standard_header() }}</p>

<h2 id="Summary">Summary</h2>

<p><strong><code>Element.runtimeStyle</code></strong> is a proprietary property&nbsp; similar to {{domxref("HTMLElement.style")}}, except its styles, that have higher precedence and modification.It does not modify the <code><a href="/en-US/docs/Web/HTML/Global_attributes/style">style</a></code> content attribute. It is available in old versions of Microsoft Internet Explorer.</p>

<h2 id="Specification">Specification</h2>

<p>Not a part of any specification.</p>

<p>Microsoft <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">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>Microsoft Edge</th>
   <th>Opera</th>
   <th>Safari (WebKit)</th>
  </tr>
  <tr>
   <td>Basic support</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>Basic support</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{domxref("Element.currentStyle")}}</li>
</ul>
Revert to this revision