Skip to content

Commit 4873d91

Browse files
committed
15601: [Shadow]: When select attribute of content element is invalid, what behavior is expected?
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15601
1 parent 1c1ac85 commit 4873d91

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

spec/shadow/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ <h3 id="matching-insertion-points">Matching Insertion Points</h3>
255255

256256
<p>The <a href="#dfn-matching-criteria">matching criteria</a> for <a href="#dfn-insertion-point">insertion point</a> is defined as a set of selector fragments. Each <dfn id="dfn-selector-fragment">selector fragment</dfn> is indeed a fragment in the <a href="http://www.w3.org/TR/css3-selectors">selector</a> <code>(shadow-host)>(fragment)</code>, where <code>(shadow-host)</code> is a selector that uniquely identifies the <a href="#dfn-shadow-host">shadow host</a>, and <code>(fragment)</code> is the <a href="#dfn-selector-fragment">selector fragment</a>.</p>
257257

258-
<p>A valid selector fragment fragment may contain:</p>
258+
<p>A <dfn id="dfn-valid-selector-fragment">valid selector fragment</dfn> may contain:</p>
259259

260260
<ul>
261261
<li>A <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">type selector</a> or a <a href="http://www.w3.org/TR/css3-selectors/#universal-selector">universal selector</a></li>
@@ -284,12 +284,13 @@ <h3 id="matching-insertion-points">Matching Insertion Points</h3>
284284
</li>
285285
</ul>
286286

287-
<p>If any other types of selectors are present the <a href="dfn-selector-fragment">selector fragment</a>, the fragment must be considered invalid.</p>
287+
<p>If any other types of selectors are present the <a href="#dfn-selector-fragment">selector fragment</a>, the fragment must be considered invalid.</p>
288288

289-
<p>A conforming UAs must consider a node as <dfn id="dfn-content-matching">matching</dfn> a set of selector fragments in the context of a given <a href="#dfn-shadow-host">shadow host</a>, if it:
289+
<p>A conforming UAs must consider a node as <dfn id="#dfn-content-matching">matching</dfn> a set of <a href="#dfn-selector-fragment">selector fragments</a> in the context of a given <a href="#dfn-shadow-host">shadow host</a>, if it:
290290
<ol>
291291
<li>is a child node of the shadow host; and</li>
292-
<li>matches at least one selector fragment in the set or the set is empty.</li>
292+
<li>all <a href="#dfn-selector-fragment">selector fragments</a> in the set are <a href="#dfn-valid-selector-fragment">valid</a>; and</li>
293+
<li>child node matches at least one selector fragment in the set or the set is empty.</li>
293294
</ol>
294295

295296

0 commit comments

Comments
 (0)