Skip to content

Commit aba590c

Browse files
committed
[selectors-4] Define that featureless elements can be matched by logical combinations.
1 parent 61ed5ca commit aba590c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

selectors-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,13 +636,17 @@ Data Model</h3>
636636
While individual elements may lack any of the above features,
637637
some elements are <dfn export>featureless</dfn>.
638638
A <a>featureless</a> element does not match any selector at all,
639-
except those it is explicitly defined to match.
639+
except those it is explicitly defined to match,
640+
plus the [=logical combination pseudo-classes=].
640641
If a given selector <em>is</em> allowed to match a <a>featureless</a> element,
641642
it must do so while ignoring the default namespace. [[CSS3NAMESPACE]]
642643

643644
<div class='example'>
644645
For example, the <a>shadow host</a> in a <a>shadow tree</a> is <a>featureless</a>,
645-
and can't be matched by <em>any</em> <a>pseudo-class</a> except for '':host'' and '':host-context()''.)
646+
and can't be matched by <em>any</em> <a>pseudo-class</a>
647+
except for '':host'' and '':host-context()''
648+
(or combinations including those,
649+
such as '':is(:host, .foo)'').
646650
</div>
647651

648652
Many of the selectors depend on the semantics of the <dfn export>document language</dfn>

0 commit comments

Comments
 (0)