Skip to content

Commit 7d4d5b0

Browse files
committed
[css-counter-styles-3][editorial] Rephrase the OM descriptor parsing to use the CSS/parse algorithm rather than doing using bespoke language. #7040
1 parent 76a23b0 commit 7d4d5b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-counter-styles-3/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2605,9 +2605,9 @@ The <code>CSSCounterStyleRule</code> interface</h3>
26052605

26062606
On setting, run the following steps:
26072607

2608-
1. <a>Parse a list of component values</a> from the value.
2608+
1. [=CSS/parse=] [=the given value=] as the descriptor associated with the attribute.
26092609

2610-
2. If the returned value is invalid according to the given descriptor's grammar,
2610+
2. If the result is invalid according to the given descriptor's grammar,
26112611
or would cause the ''@counter-style'' rule to become invalid,
26122612
do nothing and abort these steps.
26132613
(For example, some systems require the '@counter-style/symbols' descriptor to contain two values.)
@@ -2655,7 +2655,7 @@ Changes since the July 2021 Candidate Recommendation</h3>
26552655
(<a href="https://github.com/w3c/csswg-drafts/issues/8870">Issue 8870</a>)
26562656

26572657
* Fixed the accidental desync between disallowed name keywords in the syntax vs the OM.
2658-
(<a href="https://github.com/w3c/csswg-drafts/issues/8186">Issue 8186</a>)
2658+
(<a href="https://github.com/w3c/csswg-drafts/issues/8186">Issue 8186</a>)
26592659

26602660
<h3 id='changes-2017'>
26612661
Changes since the December 2017 Candidate Recommendation</h3>

0 commit comments

Comments
 (0)