Tue, 13 Aug 2013 22:03:38 +0200
[cssom] Revert GetStyleUtils to attributes. Make getComputedStyle and GetStyleUtils members live. http://lists.w3.org/Archives/Public/www-style/2013Aug/0189.html
cssom/Overview.html | file | annotate | diff | comparison | revisions | |
cssom/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom/Overview.html Tue Aug 13 16:33:20 2013 +0200 1.2 +++ b/cssom/Overview.html Tue Aug 13 22:03:38 2013 +0200 1.3 @@ -2781,7 +2781,7 @@ 1.4 <var>obj</var> be the <a href="#::after-pseudo-element">::after pseudo-element</a> of 1.5 <var>elt</var>.</li> 1.6 <li> 1.7 - <p>Return a <a href="#css-declaration-block">CSS declaration block</a> with the 1.8 + <p>Return a live <a href="#css-declaration-block">CSS declaration block</a> with the 1.9 <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the 1.10 <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties 1.11 that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the <a href="#resolved-value">resolved value</a> 1.12 @@ -2810,35 +2810,35 @@ 1.13 1.14 <pre class="idl">[NoInterfaceObject] 1.15 interface <dfn id="getstyleutils">GetStyleUtils</dfn> { 1.16 - [NewObject] <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle">cascadedStyle</a>(); 1.17 - <!--[NewObject] <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>(); 1.18 - -->[NewObject] <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle">rawComputedStyle</a>(); 1.19 - [NewObject] <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle">usedStyle</a>(); 1.20 + [SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle">cascadedStyle</a>; 1.21 + <!--[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>; 1.22 + -->[SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle">rawComputedStyle</a>; 1.23 + [SameObject] readonly attribute <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle">usedStyle</a>; 1.24 };</pre> 1.25 1.26 -<p class="atrisk">The <dfn id="dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle"><code>cascadedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a> 1.27 +<p class="atrisk">The <dfn id="dom-getstyleutils-cascadedstyle" title="dom-GetStyleUtils-cascadedStyle"><code>cascadedStyle</code></dfn> attribute must return a live <a href="#css-declaration-block">CSS declaration block</a> 1.28 with the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the 1.29 <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties 1.30 that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> that have a <a href="#cascaded-value">cascaded value</a> for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context 1.31 object</a>, with the value being the <a href="#cascaded-value">cascaded value</a> computed for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules 1.32 associated with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#associated-document">associated document</a>.</p> 1.33 1.34 -<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> 1.35 -with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 1.36 +<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration 1.37 +block</span> with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 1.38 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties that are 1.39 <span title="supported CSS property">supported CSS properties</span> with the value being the 1.40 <span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style rules 1.41 associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style 1.42 rules, author-level presentational hints and override-level style rules.</p>--> 1.43 1.44 -<p class="atrisk">The <dfn id="dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle"><code>rawComputedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration 1.45 +<p class="atrisk">The <dfn id="dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle"><code>rawComputedStyle</code></dfn> attribute must return a live <a href="#css-declaration-block">CSS declaration 1.46 block</a> with the <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the 1.47 <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties 1.48 that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the <a href="#computed-value">computed value</a> 1.49 computed for the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules associated 1.50 with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <a href="#associated-document">associated document</a>.</p> 1.51 1.52 -<p class="atrisk">The <dfn id="dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle"><code>usedStyle</code></dfn> attribute must return a <a href="#css-declaration-block">CSS declaration block</a> with the 1.53 +<p class="atrisk">The <dfn id="dom-getstyleutils-usedstyle" title="dom-GetStyleUtils-usedStyle"><code>usedStyle</code></dfn> attribute must return a live <a href="#css-declaration-block">CSS declaration block</a> with the 1.54 <a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a> set and the 1.55 <a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a> set to all longhand properties 1.56 that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a> with the value being the <a href="#used-value">used value</a>
2.1 --- a/cssom/Overview.src.html Tue Aug 13 16:33:20 2013 +0200 2.2 +++ b/cssom/Overview.src.html Tue Aug 13 22:03:38 2013 +0200 2.3 @@ -2703,7 +2703,7 @@ 2.4 <var>obj</var> be the <span>::after pseudo-element</span> of 2.5 <var>elt</var>.</p></li> 2.6 <li> 2.7 - <p>Return a <span>CSS declaration block</span> with the 2.8 + <p>Return a live <span>CSS declaration block</span> with the 2.9 <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.10 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties 2.11 that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>resolved value</span> 2.12 @@ -2732,35 +2732,35 @@ 2.13 2.14 <pre class=idl>[NoInterfaceObject] 2.15 interface <dfn>GetStyleUtils</dfn> { 2.16 - [NewObject] <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</span>(); 2.17 - <!--[NewObject] <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>(); 2.18 - -->[NewObject] <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</span>(); 2.19 - [NewObject] <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-usedStyle>usedStyle</span>(); 2.20 + [SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-cascadedStyle>cascadedStyle</span>; 2.21 + <!--[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-defaultStyle>defaultStyle</span>; 2.22 + -->[SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-rawComputedStyle>rawComputedStyle</span>; 2.23 + [SameObject] readonly attribute <span>CSSStyleDeclaration</span> <span title=dom-GetStyleUtils-usedStyle>usedStyle</span>; 2.24 };</pre> 2.25 2.26 -<p class=atrisk>The <dfn title=dom-GetStyleUtils-cascadedStyle><code>cascadedStyle</code></dfn> attribute must return a <span>CSS declaration block</span> 2.27 +<p class=atrisk>The <dfn title=dom-GetStyleUtils-cascadedStyle><code>cascadedStyle</code></dfn> attribute must return a live <span>CSS declaration block</span> 2.28 with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.29 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties 2.30 that are <span title="supported CSS property">supported CSS properties</span> that have a <span>cascaded value</span> for the <span data-anolis-spec=dom>context 2.31 object</span>, with the value being the <span>cascaded value</span> computed for the <span data-anolis-spec=dom>context object</span> using the style rules 2.32 associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p> 2.33 2.34 -<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a <span>CSS declaration block</span> 2.35 -with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.36 +<!--<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration 2.37 +block</span> with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.38 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties that are 2.39 <span title="supported CSS property">supported CSS properties</span> with the value being the 2.40 <span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style rules 2.41 associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style 2.42 rules, author-level presentational hints and override-level style rules.</p>--> 2.43 2.44 -<p class=atrisk>The <dfn title=dom-GetStyleUtils-rawComputedStyle><code>rawComputedStyle</code></dfn> attribute must return a <span>CSS declaration 2.45 +<p class=atrisk>The <dfn title=dom-GetStyleUtils-rawComputedStyle><code>rawComputedStyle</code></dfn> attribute must return a live <span>CSS declaration 2.46 block</span> with the <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.47 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties 2.48 that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>computed value</span> 2.49 computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated 2.50 with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p> 2.51 2.52 -<p class=atrisk>The <dfn title=dom-GetStyleUtils-usedStyle><code>usedStyle</code></dfn> attribute must return a <span>CSS declaration block</span> with the 2.53 +<p class=atrisk>The <dfn title=dom-GetStyleUtils-usedStyle><code>usedStyle</code></dfn> attribute must return a live <span>CSS declaration block</span> with the 2.54 <span title=concept-css-declaration-block-readonly-flag>readonly flag</span> set and the 2.55 <span title=concept-css-declaration-block-declarations>declarations</span> set to all longhand properties 2.56 that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>used value</span>