- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 Dec 2011 23:41:42 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-lists In directory hutz:/tmp/cvs-serv17900 Modified Files: Overview.html Overview.src.html Log Message: Define the scope of @counter-style rules and the conflict resolution algorithm. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.html,v retrieving revision 1.120 retrieving revision 1.121 diff -u -d -r1.120 -r1.121 --- Overview.html 5 Dec 2011 23:34:00 -0000 1.120 +++ Overview.html 5 Dec 2011 23:41:39 -0000 1.121 @@ -1482,6 +1482,14 @@ @counter-style rule, only the last specified value is used; all prior values for that descriptor must be ignored. + <p>Defining a ‘<code class=css>@counter-style</code>’ must make + it available to the entire document in which it is included. If multiple + ‘<code class=css>@counter-style</code>’ rules are defined with + the same name, standard cascade rules must be used to determine which + declaration "wins": first, they are compared by origin, with author rules + beating user rules, and user rules beating UA rules; second, they are + compared by document order, with later rules beating earlier rules. + <p>This at-rule conforms with the forward-compatible parsing requirement of CSS; parsers may ignore these rules without error. Any descriptors that are not recognized or implemented by a given user agent must be ignored. Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-lists/Overview.src.html,v retrieving revision 1.167 retrieving revision 1.168 diff -u -d -r1.167 -r1.168 --- Overview.src.html 5 Dec 2011 23:34:00 -0000 1.167 +++ Overview.src.html 5 Dec 2011 23:41:39 -0000 1.168 @@ -902,6 +902,8 @@ multiple times in a given @counter-style rule, only the last specified value is used; all prior values for that descriptor must be ignored.</p> + <p>Defining a ''@counter-style'' must make it available to the entire document in which it is included. If multiple ''@counter-style'' rules are defined with the same name, standard cascade rules must be used to determine which declaration "wins": first, they are compared by origin, with author rules beating user rules, and user rules beating UA rules; second, they are compared by document order, with later rules beating earlier rules.</p> + <p>This at-rule conforms with the forward-compatible parsing requirement of CSS; parsers may ignore these rules without error. Any descriptors that are not recognized or implemented by a given user agent must be ignored. The <i><counter-style-name></i> must be be a valid identifier and must not be "decimal", "default", "inherit", "initial", "inside", "none", or "outside"; otherwise the @counter-style is invalid and must be ignored.</p> <h3 id='counter-style-type'>
Received on Monday, 5 December 2011 23:41:49 UTC