Skip to content

Commit 06bebff

Browse files
committed
Specified that unknown descriptors don't invalidate the rule.
1 parent 746d249 commit 06bebff

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css3-lists/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,9 @@ <h2 id=counter-style><span class=secno>8. </span> Defining Custom Counter
14681468
descriptors apply to or whether the values are inherited by child
14691469
elements. When a given descriptor occurs multiple times in a given
14701470
@counter-style rule, only the last specified value is used; all prior
1471-
values for that descriptor must be ignored.
1471+
values for that descriptor must be ignored. Unknown descriptors must be
1472+
ignored; they must not make the &lsquo;<code
1473+
class=css>@counter-style</code>&rsquo; rule invalid.
14721474

14731475
<p>Defining a &lsquo;<code class=css>@counter-style</code>&rsquo; must make
14741476
it available to the entire document in which it is included. If multiple

css3-lists/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ <h2 id='counter-style'>
888888
There is no notion of which elements the descriptors apply to or whether the
889889
values are inherited by child elements. When a given descriptor occurs
890890
multiple times in a given @counter-style rule, only the last specified value
891-
is used; all prior values for that descriptor must be ignored.</p>
891+
is used; all prior values for that descriptor must be ignored. Unknown descriptors must be ignored; they must not make the ''@counter-style'' rule invalid.</p>
892892

893893
<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. ''@counter-style'' rules cascade "atomically" - if one replaces another of the same name, it replaces it <em>entirely</em>, rather than just replacing the specific descriptors it specifies.</p>
894894

0 commit comments

Comments
 (0)