File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,12 @@ Defining Custom Counter Styles: the ''@counter-style'' rule</h2>
152152
153153 <pre> @counter-style <<counter-style-name>> { <<declaration-list>> }</pre>
154154
155- where <dfn><counter-style-name></dfn> is a <<custom-ident>> .
155+ <dfn><counter-style-name></dfn> is a <<custom-ident>>
156+ that is not an <a>ASCII case-insensitive</a> match for "none".
156157
157- If a counter style's name is an <a>ASCII case-insensitive</a> match for "decimal" or "none",
158- the ''@counter-style'' rule is invalid.
158+ Additionally, in the context of the prelude of an ''@counter-style'' rule,
159+ an <a>ASCII case-insensitive</a> match for "decimal" is also an invalid <<counter-style-name>>
160+ and makes the ''@counter-style'' rule invalid.
159161
160162 Note: Note that <<custom-ident>> also automatically excludes the <a spec=css-values>CSS-wide keywords</a> .
161163 In addition, some names, like ''inside'' ,
You can’t perform that action at this time.
0 commit comments