Short URL: http://html5.org/r/7345
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 7345 | 17448 | Clarify | 2012-09-13 22:23 |
Index: source =================================================================== --- source (revision 7344) +++ source (revision 7345) @@ -12572,11 +12572,12 @@ <p>The <dfn title="dom-style"><code>style</code></dfn> IDL attribute must return a <code>CSSStyleDeclaration</code> whose value - represents the declarations specified in the attribute, if - present. Mutating the <code>CSSStyleDeclaration</code> object must - create a <code title="attr-style">style</code> attribute on the - element (if there isn't one already) and then change its value to be - a value representing the serialized form of the + represents the declarations specified in the attribute. (If the + attribute is absent, the object represents an empty declaration.) + Mutating the <code>CSSStyleDeclaration</code> object must create a + <code title="attr-style">style</code> attribute on the element (if + there isn't one already) and then change its value to be a value + representing the serialized form of the <code>CSSStyleDeclaration</code> object. The same object must be returned each time. <a href="#refsCSSOM">[CSSOM]</a></p>