Skip to content

Commit 5472fba

Browse files
committed
[css-counter-styles] Clarify that making the entire counter style invalid also aborts an attribute setter.
1 parent bfa7065 commit 5472fba

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

css-counter-styles/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,9 @@ The <code>CSSCounterStyleRule</code> interface</h3>
20582058

20592059
<li>
20602060
If the returned value is invalid according to the given descriptor's grammar,
2061+
or would cause the ''@counter-style'' rule to become invalid,
20612062
do nothing and abort these steps.
2063+
(For example, some systems require the 'symbols' descriptor to contain two values.)
20622064

20632065
<li>
20642066
If the attribute being set is <a idl>system</a>,

css-counter-styles/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,9 @@ <h3 class="heading settled heading" data-level=9.2 id=the-csscounterstylerule-in
20782078

20792079
<li>
20802080
If the returned value is invalid according to the given descriptor’s grammar,
2081+
or would cause the <a class=css data-link-type=maybe href=#at-ruledef-counter-style title=@counter-style>@counter-style</a> rule to become invalid,
20812082
do nothing and abort these steps.
2083+
(For example, some systems require the <a class=property data-link-type=propdesc href=#descdef-symbols title=symbols>symbols</a> descriptor to contain two values.)
20822084

20832085
<li>
20842086
If the attribute being set is <a data-link-type=idl href=#dom-csscounterstylerule-system title=system>system</a>,

0 commit comments

Comments
 (0)