You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p> The <dfnid="csscounterstylerule">CSSCounterStyleRule</dfn> interface represents a <adata-autolink="maybe" class="css" href="#at-counter-style">@counter-style</a> rule.
<dt><var>name</var> of type <code>DOMString</code>, readonly
2367
+
<dt><var>name</var> of type <code>DOMString</code>
2368
2368
</dt><dd>
2369
-
The <var>name</var> attribute must return a <code>DOMString</code> object that contains the serialization of the <var><counter-style-name></var> defined for the associated <adata-autolink="maybe" class="css" href="#at-counter-style">@counter-style</a> block.
2369
+
The <var>name</var> attribute on getting must return a <code>DOMString</code> object
2370
+
that contains the serialization of the <var><counter-style-name></var> defined for the associated rule.
2371
+
2372
+
<p> On setting the <var>name</var> attribute, run the following steps:
2373
+
2374
+
</p><ol>
2375
+
<li><adata-autolink="link">Parse a component value</a> from the value.
2376
+
2377
+
</li><li>If the returned value is an 〈ident〉,
2378
+
replace the associated rule's name with the 〈ident〉's representation.
2379
+
2380
+
</li><li>Otherwise, do nothing.
2381
+
</li></ol>
2370
2382
2371
2383
</dd><dt>everything else
2372
2384
</dt><dd>
2373
-
The remaining attributes must return a <code>DOMString</code> object that contains the serialization of the associated descriptor defined for the associated <adata-autolink="maybe" class="css" href="#at-counter-style">@counter-style</a> block.
2385
+
The remaining attributes on getting must return a <code>DOMString</code> object
2386
+
that contains the serialization of the associated descriptor defined for the associated rule.
2387
+
2388
+
<p> On setting, run the following steps:
2389
+
2390
+
</p><ol>
2391
+
<li><adata-autolink="link">Parse a list of component values</a> from the value.
2392
+
2393
+
</li><li>If the returned value is valid according to the given descriptor's grammar,
<dt><var>name</var> of type <code>DOMString</code>, readonly
2336
+
<dt><var>name</var> of type <code>DOMString</code>
2337
2337
<dd>
2338
-
The <var>name</var> attribute must return a <code>DOMString</code> object that contains the serialization of the <var><counter-style-name></var> defined for the associated ''@counter-style'' block.
2338
+
The <var>name</var> attribute on getting must return a <code>DOMString</code> object
2339
+
that contains the serialization of the <var><counter-style-name></var> defined for the associated rule.
2340
+
2341
+
On setting the <var>name</var> attribute, run the following steps:
2342
+
2343
+
<ol>
2344
+
<li><a>Parse a component value</a> from the value.
2345
+
2346
+
<li>If the returned value is an 〈ident〉,
2347
+
replace the associated rule's name with the 〈ident〉's representation.
2348
+
2349
+
<li>Otherwise, do nothing.
2350
+
</ol>
2339
2351
2340
2352
<dt>everything else
2341
2353
<dd>
2342
-
The remaining attributes must return a <code>DOMString</code> object that contains the serialization of the associated descriptor defined for the associated ''@counter-style'' block.
2354
+
The remaining attributes on getting must return a <code>DOMString</code> object
2355
+
that contains the serialization of the associated descriptor defined for the associated rule.
2356
+
2357
+
On setting, run the following steps:
2358
+
2359
+
<ol>
2360
+
<li><a>Parse a list of component values</a> from the value.
2361
+
2362
+
<li>If the returned value is valid according to the given descriptor's grammar,
0 commit comments