Skip to content

Commit 9b215c7

Browse files
committed
[selectors-4] Define legacy selector aliases. w3c#5847
1 parent b86026d commit 9b215c7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

selectors-4/Overview.bs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,13 @@ Invalid Selectors and Error Handling</h3>
10311031

10321032
An <a>invalid selector</a> represents, and therefore matches, nothing.
10331033

1034+
<h3 id="legacy-aliasing">
1035+
Legacy Aliases</h3>
1036+
1037+
Some selectors have a <dfn>legacy selector alias</dfn>.
1038+
This is a name which, at parse time, is converted to the standard name
1039+
(and thus does not appear anywhere in any object model representing the selector).
1040+
10341041
<h2 id="logical-combination">
10351042
Logical Combinations</h2>
10361043

@@ -1135,7 +1142,7 @@ The Matches-Any Pseudo-class: '':is()''</h3>
11351142
As previous drafts of this specification
11361143
used the name <dfn>:matches()</dfn> for this pseudo-class,
11371144
UAs may additionally implement this obsolete name
1138-
as an alias for '':is()''
1145+
as a [=legacy selector alias=] for '':is()''
11391146
if needed for backwards-compatibility.
11401147

11411148
<h3 id="negation">

0 commit comments

Comments
 (0)