Skip to content

Commit 3519a77

Browse files
committed
[css-counter-styles] Specify that an unspecified descriptor returns an empty string in the OM.
1 parent 37604ea commit 3519a77

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
@@ -2023,6 +2023,8 @@ The <code>CSSCounterStyleRule</code> interface</h3>
20232023
<dd>
20242024
The remaining attributes on getting must return a <code>DOMString</code> object
20252025
that contains the serialization of the associated descriptor defined for the associated rule.
2026+
If the descriptor was not specified in the associated rule,
2027+
the attribute must return an empty string.
20262028

20272029
On setting, run the following steps:
20282030

css-counter-styles/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,8 @@ <h3 class="heading settled heading" data-level=9.2 id=the-csscounterstylerule-in
20432043
<dd>
20442044
The remaining attributes on getting must return a <code>DOMString</code> object
20452045
that contains the serialization of the associated descriptor defined for the associated rule.
2046+
If the descriptor was not specified in the associated rule,
2047+
the attribute must return an empty string.
20462048

20472049
<p> On setting, run the following steps:
20482050

0 commit comments

Comments
 (0)