Skip to content

Commit f1fffef

Browse files
andruudAnders Hartvoll Ruud
and
Anders Hartvoll Ruud
authored
[css-nesting-1] Specificity of '&' is zero without a parent rule (w3c#11135)
Resolves w3c#10196. Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent bfd99a5 commit f1fffef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-nesting-1/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
966966
The <a>specificity</a> of the <a>nesting selector</a>
967967
is equal to the largest specificity among the complex selectors
968968
in the parent style rule's selector list
969-
(identical to the behavior of '':is()'').
969+
(identical to the behavior of '':is()''),
970+
or zero if no such selector list exists.
970971

971972
<div class="example">
972973
For example, given the following style rules:

0 commit comments

Comments
 (0)