[cssom] Require alphabetical order of the declarations for getComputedStyle et al. http://lists.w3.org/Archives/Public/www-style/2013Aug/0592.html

Wed, 28 Aug 2013 11:38:22 +0200

author
Simon Pieters <simonp@opera.com>
date
Wed, 28 Aug 2013 11:38:22 +0200
changeset 8959
e81cc18b08aa
parent 8958
42b77198eb2a
child 8960
a48538e5f966

[cssom] Require alphabetical order of the declarations for getComputedStyle et al. http://lists.w3.org/Archives/Public/www-style/2013Aug/0592.html

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Wed Aug 28 12:24:19 2013 +0900
     1.2 +++ b/cssom/Overview.html	Wed Aug 28 11:38:22 2013 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4   <h1>CSS Object Model (CSSOM)</h1>
     1.5  
     1.6  
     1.7 - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 27 August 2013</h2>
     1.8 + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 August 2013</h2>
     1.9  
    1.10   <dl>
    1.11  
    1.12 @@ -90,7 +90,7 @@
    1.13  can be found in the
    1.14  <a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
    1.15  
    1.16 -<p class="dontpublish">This is the 27 August 2013 Editor's Draft of CSSOM. Please send comments to
    1.17 +<p class="dontpublish">This is the 28 August 2013 Editor's Draft of CSSOM. Please send comments to
    1.18  <a href="mailto:www-style@w3.org?subject=%5Bcssom%5D%20">www-style@w3.org</a>
    1.19  (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
    1.20  with <samp>[cssom]</samp> at the start of the subject line.
    1.21 @@ -2870,8 +2870,8 @@
    1.22     <dt><a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a>
    1.23     <dd><p>Set.
    1.24     <dt><a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>
    1.25 -   <dd><p>All longhand properties 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
    1.26 -   value</a> computed for <var>obj</var> using the style rules associated with <var>doc</var>.</p>
    1.27 +   <dd><p>All longhand properties that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
    1.28 +   the <a href="#resolved-value">resolved value</a> computed for <var>obj</var> using the style rules associated with <var>doc</var>.</p>
    1.29     <p class="note">This means that even if <var>obj</var> is in a different document (e.g. one fetched via <code title="">XMLHttpRequest</code>) it will still use
    1.30     the style rules associated with the document that is associated with the global object on which
    1.31     <code title="dom-Window-getComputedStyle"><a href="#dom-window-getcomputedstyle">getComputedStyle()</a></code> was invoked to compute the <a href="#css-declaration-block">CSS declaration block</a>.</p>
    1.32 @@ -2909,9 +2909,10 @@
    1.33   <dt><a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a>
    1.34   <dd><p>Set.
    1.35   <dt><a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>
    1.36 - <dd><p>All longhand properties 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
    1.37 - <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context 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
    1.38 - object</a> using the style rules 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.39 + <dd><p>All longhand properties that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, that have a
    1.40 + <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 object</a>, with the value being the <a href="#cascaded-value">cascaded value</a> computed for the
    1.41 + <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules 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
    1.42 + document</a>.</p>
    1.43   <dt><a href="#contept-css-declaration-block-parent-css-rule" title="contept-css-declaration-block-parent-css-rule">parent CSS rule</a>
    1.44   <dd><p>Null.
    1.45   <dt><a href="#concept-css-declaration-block-owner-node" title="concept-css-declaration-block-owner-node">owner node</a>
    1.46 @@ -2925,10 +2926,10 @@
    1.47   <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
    1.48   <dd><p>Set.
    1.49   <dt><span title=concept-css-declaration-block-declarations>declarations</span>
    1.50 - <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>computed
    1.51 - 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 associated
    1.52 - with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style rules,
    1.53 - author-level presentational hints and override-level style rules.</p>
    1.54 + <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
    1.55 + the <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
    1.56 + rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level
    1.57 + style rules, author-level presentational hints and override-level style rules.</p>
    1.58   <dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
    1.59   <dd><p>Null.
    1.60   <dt><span title=concept-css-declaration-block-owner-node>owner node</span>
    1.61 @@ -2942,9 +2943,9 @@
    1.62   <dt><a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a>
    1.63   <dd><p>Set.
    1.64   <dt><a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>
    1.65 - <dd><p>All longhand properties 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
    1.66 - 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 associated with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context
    1.67 - object</a>'s <a href="#associated-document">associated document</a>.</p>
    1.68 + <dd><p>All longhand properties that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
    1.69 + the <a href="#computed-value">computed 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 associated with the
    1.70 + <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.71   <dt><a href="#contept-css-declaration-block-parent-css-rule" title="contept-css-declaration-block-parent-css-rule">parent CSS rule</a>
    1.72   <dd><p>Null.
    1.73   <dt><a href="#concept-css-declaration-block-owner-node" title="concept-css-declaration-block-owner-node">owner node</a>
    1.74 @@ -2957,9 +2958,9 @@
    1.75   <dt><a href="#concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</a>
    1.76   <dd><p>Set.
    1.77   <dt><a href="#concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</a>
    1.78 - <dd><p>All longhand properties 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>
    1.79 - 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 with the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s
    1.80 - <a href="#associated-document">associated document</a>.</p>
    1.81 + <dd><p>All longhand properties that are <a href="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
    1.82 + the <a href="#used-value">used 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 associated with the
    1.83 + <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.84   <dt><a href="#contept-css-declaration-block-parent-css-rule" title="contept-css-declaration-block-parent-css-rule">parent CSS rule</a>
    1.85   <dd><p>Null.
    1.86   <dt><a href="#concept-css-declaration-block-owner-node" title="concept-css-declaration-block-owner-node">owner node</a>
     2.1 --- a/cssom/Overview.src.html	Wed Aug 28 12:24:19 2013 +0900
     2.2 +++ b/cssom/Overview.src.html	Wed Aug 28 11:38:22 2013 +0200
     2.3 @@ -2791,8 +2791,8 @@
     2.4     <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
     2.5     <dd><p>Set.
     2.6     <dt><span title=concept-css-declaration-block-declarations>declarations</span>
     2.7 -   <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>resolved
     2.8 -   value</span> computed for <var>obj</var> using the style rules associated with <var>doc</var>.</p>
     2.9 +   <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
    2.10 +   the <span>resolved value</span> computed for <var>obj</var> using the style rules associated with <var>doc</var>.</p>
    2.11     <p class=note>This means that even if <var>obj</var> is in a different document (e.g. one fetched via <code title>XMLHttpRequest</code>) it will still use
    2.12     the style rules associated with the document that is associated with the global object on which
    2.13     <code title=dom-Window-getComputedStyle>getComputedStyle()</code> was invoked to compute the <span>CSS declaration block</span>.</p>
    2.14 @@ -2830,9 +2830,10 @@
    2.15   <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
    2.16   <dd><p>Set.
    2.17   <dt><span title=concept-css-declaration-block-declarations>declarations</span>
    2.18 - <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> that have a <span>cascaded value</span> for the
    2.19 - <span data-anolis-spec=dom>context object</span>, with the value being the <span>cascaded value</span> computed for the <span data-anolis-spec=dom>context
    2.20 - object</span> using the style rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
    2.21 + <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, that have a
    2.22 + <span>cascaded value</span> for the <span data-anolis-spec=dom>context object</span>, with the value being the <span>cascaded value</span> computed for the
    2.23 + <span data-anolis-spec=dom>context object</span> using the style rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated
    2.24 + document</span>.</p>
    2.25   <dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
    2.26   <dd><p>Null.
    2.27   <dt><span title=concept-css-declaration-block-owner-node>owner node</span>
    2.28 @@ -2846,10 +2847,10 @@
    2.29   <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
    2.30   <dd><p>Set.
    2.31   <dt><span title=concept-css-declaration-block-declarations>declarations</span>
    2.32 - <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>computed
    2.33 - 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 associated
    2.34 - with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style rules,
    2.35 - author-level presentational hints and override-level style rules.</p>
    2.36 + <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
    2.37 + the <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
    2.38 + rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level
    2.39 + style rules, author-level presentational hints and override-level style rules.</p>
    2.40   <dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
    2.41   <dd><p>Null.
    2.42   <dt><span title=concept-css-declaration-block-owner-node>owner node</span>
    2.43 @@ -2863,9 +2864,9 @@
    2.44   <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
    2.45   <dd><p>Set.
    2.46   <dt><span title=concept-css-declaration-block-declarations>declarations</span>
    2.47 - <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>computed
    2.48 - value</span> computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated with the <span data-anolis-spec=dom>context
    2.49 - object</span>'s <span>associated document</span>.</p>
    2.50 + <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
    2.51 + the <span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated with the
    2.52 + <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
    2.53   <dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
    2.54   <dd><p>Null.
    2.55   <dt><span title=concept-css-declaration-block-owner-node>owner node</span>
    2.56 @@ -2878,9 +2879,9 @@
    2.57   <dt><span title=concept-css-declaration-block-readonly-flag>readonly flag</span>
    2.58   <dd><p>Set.
    2.59   <dt><span title=concept-css-declaration-block-declarations>declarations</span>
    2.60 - <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span> with the value being the <span>used value</span>
    2.61 - computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated with the <span data-anolis-spec=dom>context object</span>'s
    2.62 - <span>associated document</span>.</p>
    2.63 + <dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
    2.64 + the <span>used value</span> computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated with the
    2.65 + <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
    2.66   <dt><span title=contept-css-declaration-block-parent-css-rule>parent CSS rule</span>
    2.67   <dd><p>Null.
    2.68   <dt><span title=concept-css-declaration-block-owner-node>owner node</span>

mercurial