[html5] r7915 - [e] (0) Move .style to CSSOM Fixing https://www.w3.org/Bugs/Public/show_bug.cgi? [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 5 16:31:20 PDT 2013


Author: ianh
Date: 2013-06-05 16:31:19 -0700 (Wed, 05 Jun 2013)
New Revision: 7915

Modified:
   complete.html
   index
   source
Log:
[e] (0) Move .style to CSSOM
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21849
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2013-06-05 23:24:21 UTC (rev 7914)
+++ complete.html	2013-06-05 23:31:19 UTC (rev 7915)
@@ -9247,9 +9247,6 @@
   readonly attribute boolean? <a href=#dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled>commandDisabled</a>;
   readonly attribute boolean? <a href=#dom-command-ro-commandchecked title=dom-command-ro-commandChecked>commandChecked</a>;<!-- v2COMMAND
   readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
-
-  // styling
-  [PutForwards=<a href=#dom-cssstyledeclaration-csstext title=dom-CSSStyleDeclaration-cssText>cssText</a>] readonly attribute <a href=#cssstyledeclaration>CSSStyleDeclaration</a> <a href=#dom-style title=dom-style>style</a>;
 };
 <a href=#htmlelement>HTMLElement</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
 
@@ -10005,7 +10002,8 @@
 
   <p>In user agents that support CSS, the attribute's value must be parsed when the attribute is
   added or has its value changed<!-- so dynamic changes to the base URL don't affect the CSS -->,
-  according to the rules given for <span>CSS styling attributes</span>. <a href=#refsCSSATTR>[CSSATTR]</a></p>
+  according to the rules given for <a href=#css-styling-attribute title="CSS styling attribute">CSS styling
+  attributes</a>. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   </div>
 
@@ -10024,13 +10022,8 @@
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-style title=dom-style><code>style</code></dfn> IDL attribute must return a
-  <code><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> whose value represents the declarations specified in the
-  attribute. (If the attribute is absent, the object represents an empty declaration.) Mutating the
-  <code><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> object must create a <code title=attr-style><a href=#the-style-attribute>style</a></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><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> object. The same object
-  must be returned each time. <a href=#refsCSSOM>[CSSOM]</a></p>
+  <p>The <dfn id=dom-style title=dom-style><code>style</code></dfn> IDL attribute is defined in the CSS Object
+  Model (CSSOM) specification. <a href=#refsCSSOM>[CSSOM]</a></p>
 
   </div>
 

Modified: index
===================================================================
--- index	2013-06-05 23:24:21 UTC (rev 7914)
+++ index	2013-06-05 23:31:19 UTC (rev 7915)
@@ -9247,9 +9247,6 @@
   readonly attribute boolean? <a href=#dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled>commandDisabled</a>;
   readonly attribute boolean? <a href=#dom-command-ro-commandchecked title=dom-command-ro-commandChecked>commandChecked</a>;<!-- v2COMMAND
   readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
-
-  // styling
-  [PutForwards=<a href=#dom-cssstyledeclaration-csstext title=dom-CSSStyleDeclaration-cssText>cssText</a>] readonly attribute <a href=#cssstyledeclaration>CSSStyleDeclaration</a> <a href=#dom-style title=dom-style>style</a>;
 };
 <a href=#htmlelement>HTMLElement</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
 
@@ -10005,7 +10002,8 @@
 
   <p>In user agents that support CSS, the attribute's value must be parsed when the attribute is
   added or has its value changed<!-- so dynamic changes to the base URL don't affect the CSS -->,
-  according to the rules given for <span>CSS styling attributes</span>. <a href=#refsCSSATTR>[CSSATTR]</a></p>
+  according to the rules given for <a href=#css-styling-attribute title="CSS styling attribute">CSS styling
+  attributes</a>. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   </div>
 
@@ -10024,13 +10022,8 @@
 
   </dl><div class=impl>
 
-  <p>The <dfn id=dom-style title=dom-style><code>style</code></dfn> IDL attribute must return a
-  <code><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> whose value represents the declarations specified in the
-  attribute. (If the attribute is absent, the object represents an empty declaration.) Mutating the
-  <code><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> object must create a <code title=attr-style><a href=#the-style-attribute>style</a></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><a href=#cssstyledeclaration>CSSStyleDeclaration</a></code> object. The same object
-  must be returned each time. <a href=#refsCSSOM>[CSSOM]</a></p>
+  <p>The <dfn id=dom-style title=dom-style><code>style</code></dfn> IDL attribute is defined in the CSS Object
+  Model (CSSOM) specification. <a href=#refsCSSOM>[CSSOM]</a></p>
 
   </div>
 

Modified: source
===================================================================
--- source	2013-06-05 23:24:21 UTC (rev 7914)
+++ source	2013-06-05 23:31:19 UTC (rev 7915)
@@ -9091,9 +9091,6 @@
   readonly attribute boolean? <span title="dom-command-ro-commandDisabled">commandDisabled</span>;
   readonly attribute boolean? <span title="dom-command-ro-commandChecked">commandChecked</span>;<!-- v2COMMAND
   readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
-
-  // styling
-  [PutForwards=<span title="dom-CSSStyleDeclaration-cssText">cssText</span>] readonly attribute <span>CSSStyleDeclaration</span> <span title="dom-style">style</span>;
 };
 <span>HTMLElement</span> implements <span>GlobalEventHandlers</span>;
 
@@ -9969,8 +9966,8 @@
 
   <p>In user agents that support CSS, the attribute's value must be parsed when the attribute is
   added or has its value changed<!-- so dynamic changes to the base URL don't affect the CSS -->,
-  according to the rules given for <span>CSS styling attributes</span>. <a
-  href="#refsCSSATTR">[CSSATTR]</a></p>
+  according to the rules given for <span title="CSS styling attribute">CSS styling
+  attributes</span>. <a href="#refsCSSATTR">[CSSATTR]</a></p>
 
   </div>
 
@@ -9995,13 +9992,8 @@
 
   <div class="impl">
 
-  <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 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>
+  <p>The <dfn title="dom-style"><code>style</code></dfn> IDL attribute is defined in the CSS Object
+  Model (CSSOM) specification. <a href="#refsCSSOM">[CSSOM]</a></p>
 
   </div>
 




More information about the Commit-Watchers mailing list