@@ -162,9 +162,11 @@ Defining Custom Counter Styles: the ''@counter-style'' rule</h2>
162162 that is not an <a>ASCII case-insensitive</a> match for "none".
163163 The <<counter-style-name>> is a [=tree-scoped name=] .
164164
165- Additionally, in the context of the prelude of an ''@counter-style'' rule,
166- an <a>ASCII case-insensitive</a> match for "decimal" or "disc" is also an invalid <<counter-style-name>>
167- and makes the ''@counter-style'' rule invalid.
165+ The keywords ''decimal'' , ''disc'' , ''square'' , ''circle'' , ''disclosure-open'' , and ''disclosure-closed''
166+ are valid <<counter-style-name>> s,
167+ but are invalid when used here to name a counter style rule;
168+ doing so makes the rule invalid.
169+ (They can be used in other contexts, such as in the ''extend'' system.)
168170
169171 Note: Note that <<custom-ident>> also automatically excludes the <a spec=css-values>CSS-wide keywords</a> .
170172 In addition, some names, like ''inside'' ,
@@ -701,10 +703,17 @@ Building from Existing Counter Styles: the ''extends'' system
701703 any unspecified descriptors must be taken from the extended counter style specified,
702704 rather than taking their initial values.
703705
704- If a @counter-style uses the ''extends'' system,
706+ If a '' @counter-style'' uses the ''extends'' system,
705707 it must not contain a 'symbols' or 'additive-symbols' descriptor,
706708 or else the ''@counter-style'' rule is invalid.
707709
710+ If the specified <<counter-style-name>> is an [=ASCII case-insensitive=] match
711+ for ''disc'' , ''circle'' , ''square'' , ''disclosure-open'' , or ''disclosure-closed''
712+ (any of the predefined symbolic counter styles),
713+ using ''extend'' extends from the “standard” definition of the rules
714+ provided in the normative stylesheet
715+ (rather than the exception allowing them to be drawn in a different, user-agent-specific fashion.)
716+
708717 If the specified counter style name isn't the name of any defined counter style,
709718 it must be treated as if it was extending the ''decimal'' counter style.
710719 If one or more ''@counter-style'' rules form a cycle with their ''extends'' values,
@@ -1462,9 +1471,6 @@ Numeric: ''decimal'', ''decimal-leading-zero'', ''arabic-indic'', ''armenian'',
14621471 (e.g., ༡, ༢, ༣, ..., ༩༨, ༩༩, ༡༠༠).
14631472 </dl>
14641473
1465- The ''decimal'' counter-style must not be overridable with a ''@counter-style'' rule,
1466- so that it is always available as the ultimate fallback style.
1467-
14681474 The following stylesheet fragment provides the normative definition of these predefined counter styles:
14691475
14701476 <pre class='stylesheet'><bdo dir=ltr>
@@ -1765,9 +1771,6 @@ Symbolic: ''disc'', ''circle'', ''square'', ''disclosure-open'', ''disclosure-cl
17651771 such as the HTML <{details}> element.
17661772 </dl>
17671773
1768- The ''disc'' counter-style must not be overridable with a ''@counter-style'' rule,
1769- so that the initial value of 'list-style-type' is well-known to the user agent.
1770-
17711774 The following stylesheet fragment provides the normative definition of these predefined counter styles:
17721775
17731776 <pre class='stylesheet'>
0 commit comments