Skip to content

Commit 15c009f

Browse files
committed
[selectors] Add back requirement that ID selector be an ident.
1 parent 6fdb28f commit 15c009f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

selectors/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,6 +3133,7 @@ Grammar</h2>
31333133
can, for legacy reasons,
31343134
be written using the <<pseudo-class-selector>> grammar,
31353135
with only a single ":" character at their start.
3136+
* In <<id-selector>>, the <<hash-token>>’s value must be an <a>identifier</a>.
31363137

31373138
Issue: Should I consider the "only one pseudo-element per complex selector, at the end of the last compound selector" rule now trashed?
31383139
In practice, all implementations violate that rule to at least some extent.

0 commit comments

Comments
 (0)