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
The Matches-Any Pseudo-class: <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a></span><aclass=self-linkhref=#matches></a></h3>
is a functional pseudo-class taking a <ahref=#grouping>selector list</a>
1442
+
is a functional pseudo-class taking a <adata-link-type=dfnhref=#selector-listtitle="selector list">selector list</a>
1443
1443
as its argument. It represents an element that is represented by its argument.</p>
1444
1444
1445
-
<p>The <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a> pseudo-class may not be nested within itself
1446
-
or within <aclass=cssdata-link-type=maybehref=#negation-pseudotitle=:not()>:not()</a>:
1447
-
<spanclass=cssdata-link-type=maybetitle=:matches(:matches(...))>:matches(:matches(...))</span> and <spanclass=cssdata-link-type=maybetitle=:not(:matches(...))>:not(:matches(...))</span> are invalid.
1448
-
Additionally, pseudo-elements cannot be represented by the matches-any pseudo-class;
1445
+
<p>Pseudo-elements cannot be represented by the matches-any pseudo-class;
1449
1446
they are not valid within <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a>.</p>
since <aclass=cssdata-link-type=maybehref=#has-pseudotitle=:has()>:has()</a> and <aclass=cssdata-link-type=maybehref=#nth-child-pseudotitle=:nth-child()>:nth-child()</a> have the same functionality as <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a>.</p>
1454
-
1455
1448
<p>Default namespace declarations do not affect any “implied” universal selectors
1456
1449
within a <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a> pseudo-class.</p>
1457
1450
1458
1451
<divclass=example>
1459
-
For example, following selector matches any element that is being
1452
+
For example, the following selector matches any element that is being
1460
1453
hovered or focused, regardless of its namespace. In particular, it
1461
1454
is not limited to only matching elements in the default namespace
since <aclass=cssdata-link-type=maybehref=#has-pseudotitle=:has()>:has()</a> and <aclass=cssdata-link-type=maybehref=#nth-child-pseudotitle=:nth-child()>:nth-child()</a> have the same functionality as <aclass=cssdata-link-type=maybehref=#matches-pseudotitle=:matches()>:matches()</a>.<ahref=#issue-2adb46fb> ↵ </a></div><divclass=issue>Add comma-separated syntax for
3930
+
<ahref=#issue-73b391d2> ↵ </a></div><divclass=issue>Explain this better.<ahref=#issue-2422b936> ↵ </a></div><divclass=issue>Add comma-separated syntax for
0 commit comments