Skip to content

Commit 2b541a5

Browse files
committed
[shadow-styling] Remove empty section.
1 parent 8ada786 commit 2b541a5

2 files changed

Lines changed: 21 additions & 47 deletions

File tree

shadow-styling/Overview.bs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,6 @@ Inheritance and Shadow DOM</h3>
174174
rather than from their normal parent.
175175

176176

177-
178-
179-
<h2 id='inheritance'>
180-
Shadow DOM Combinators</h2>
181-
182-
Shadow DOM defines several new combinators
183-
to help style the contents of <a>shadow trees</a> and <a>distribution lists</a>.
184-
185-
<p class='issue'>
186-
I'm assuming here that "/foo/" is the syntax we'll agree on for named combinators.
187-
188177
<h2 id='selectors'>
189178
Shadow DOM Selectors</h2>
190179

shadow-styling/Overview.html

Lines changed: 21 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,14 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class
116116
<li><a href=#host-element><span class=secno>3.1</span> Host Elements in a Shadow Tree</a></ul>
117117
<li><a href=#cascading><span class=secno>4</span> Changes to the Cascading Model</a>
118118
<ul class=toc>
119-
<li><a href=#inheritance0><span class=secno>4.1</span> Inheritance and Shadow DOM</a></ul>
120-
<li><a href=#inheritance><span class=secno>5</span> Shadow DOM Combinators</a>
121-
<li><a href=#selectors><span class=secno>6</span> Shadow DOM Selectors</a>
119+
<li><a href=#inheritance><span class=secno>4.1</span> Inheritance and Shadow DOM</a></ul>
120+
<li><a href=#selectors><span class=secno>5</span> Shadow DOM Selectors</a>
122121
<ul class=toc>
123-
<li><a href=#host-selector><span class=secno>6.1</span> Selecting the Host Element: the <span class=css data-link-type=maybe title=:host>:host</span> and <span class=css data-link-type=maybe title=:host()>:host()</span> pseudo-classes</a>
124-
<li><a href=#ancestor-selector><span class=secno>6.2</span> Selecting Based on an Ancestor Outside the Shadow Tree: the <span class=css data-link-type=maybe title=:host-context()>:host-context()</span> pseudo-class</a>
125-
<li><a href=#shadow-pseudoelement><span class=secno>6.3</span> Selecting the Shadow Root Itself: the <span class=css data-link-type=maybe title=::shadow>::shadow</span> pseudo-element</a>
126-
<li><a href=#content-combinator><span class=secno>6.4</span> Selecting Distributed Elements: the <span class=css data-link-type=maybe title=::content>::content</span> pseudo-element</a>
127-
<li><a href=#deep-combinator><span class=secno>6.5</span> Selecting Through All Shadows: the <span class=css data-link-type=maybe title=/deep/>/deep/</span> combinator</a></ul>
122+
<li><a href=#host-selector><span class=secno>5.1</span> Selecting the Host Element: the <span class=css data-link-type=maybe title=:host>:host</span> and <span class=css data-link-type=maybe title=:host()>:host()</span> pseudo-classes</a>
123+
<li><a href=#ancestor-selector><span class=secno>5.2</span> Selecting Based on an Ancestor Outside the Shadow Tree: the <span class=css data-link-type=maybe title=:host-context()>:host-context()</span> pseudo-class</a>
124+
<li><a href=#shadow-pseudoelement><span class=secno>5.3</span> Selecting the Shadow Root Itself: the <span class=css data-link-type=maybe title=::shadow>::shadow</span> pseudo-element</a>
125+
<li><a href=#content-combinator><span class=secno>5.4</span> Selecting Distributed Elements: the <span class=css data-link-type=maybe title=::content>::content</span> pseudo-element</a>
126+
<li><a href=#deep-combinator><span class=secno>5.5</span> Selecting Through All Shadows: the <span class=css data-link-type=maybe title=/deep/>/deep/</span> combinator</a></ul>
128127
<li><a href=#conformance><span class=secno></span> Conformance</a>
129128
<ul class=toc>
130129
<li><a href=#conventions><span class=secno></span> Document conventions</a>
@@ -295,8 +294,8 @@ <h2 class="heading settled heading" data-level=4 id=cascading><span class=secno>
295294
defined by the Shadow DOM specification,
296295
is used to calculate ordering.
297296

298-
<h3 class="heading settled heading" data-level=4.1 id=inheritance0><span class=secno>4.1 </span><span class=content>
299-
Inheritance and Shadow DOM</span><a class=self-link href=#inheritance0></a></h3>
297+
<h3 class="heading settled heading" data-level=4.1 id=inheritance><span class=secno>4.1 </span><span class=content>
298+
Inheritance and Shadow DOM</span><a class=self-link href=#inheritance></a></h3>
300299

301300
<p> The <a data-link-type=dfn href=#top-level-element title="top-level elements">top-level elements</a> of a <a data-link-type=dfn href=#shadow-tree title="shadow tree">shadow tree</a>
302301
inherit from their <a data-link-type=dfn href=#host-element0 title="host element">host element</a>.
@@ -305,24 +304,13 @@ <h3 class="heading settled heading" data-level=4.1 id=inheritance0><span class=s
305304
rather than from their normal parent.
306305

307306

308-
309-
310-
<h2 class="heading settled heading" data-level=5 id=inheritance><span class=secno>5 </span><span class=content>
311-
Shadow DOM Combinators</span><a class=self-link href=#inheritance></a></h2>
312-
313-
<p> Shadow DOM defines several new combinators
314-
to help style the contents of <a data-link-type=dfn href=#shadow-tree title="shadow trees">shadow trees</a> and <a data-link-type=dfn href=#distribution-list title="distribution lists">distribution lists</a>.
315-
316-
<p class=issue id=issue-46cdc4d6><a class=self-link href=#issue-46cdc4d6></a>
317-
I’m assuming here that "/foo/" is the syntax we’ll agree on for named combinators.
318-
319-
<h2 class="heading settled heading" data-level=6 id=selectors><span class=secno>6 </span><span class=content>
307+
<h2 class="heading settled heading" data-level=5 id=selectors><span class=secno>5 </span><span class=content>
320308
Shadow DOM Selectors</span><a class=self-link href=#selectors></a></h2>
321309

322310
<p> Shadow DOM defines a few new selectors
323311
to help select elements in useful way related to Shadow DOM.
324312

325-
<h3 class="heading settled heading" data-level=6.1 id=host-selector><span class=secno>6.1 </span><span class=content>
313+
<h3 class="heading settled heading" data-level=5.1 id=host-selector><span class=secno>5.1 </span><span class=content>
326314
Selecting the Host Element: the <a class=css data-link-type=maybe href=#selectordef-host0 title=:host>:host</a> and <a class=css data-link-type=maybe href=#selectordef-host title=:host()>:host()</a> pseudo-classes</span><a class=self-link href=#host-selector></a></h3>
327315

328316
<p> The <dfn class=css-code data-dfn-type=selector data-export="" id=selectordef-host0>:host<a class=self-link href=#selectordef-host0></a></dfn> pseudo-class,
@@ -363,7 +351,7 @@ <h3 class="heading settled heading" data-level=6.1 id=host-selector><span class=
363351
</ul>
364352
</div>
365353

366-
<h3 class="heading settled heading" data-level=6.2 id=ancestor-selector><span class=secno>6.2 </span><span class=content>
354+
<h3 class="heading settled heading" data-level=5.2 id=ancestor-selector><span class=secno>5.2 </span><span class=content>
367355
Selecting Based on an Ancestor Outside the Shadow Tree: the <a class=css data-link-type=maybe href=#selectordef-host-context title=:host-context()>:host-context()</a> pseudo-class</span><a class=self-link href=#ancestor-selector></a></h3>
368356

369357
<p> Ordinary, selectors within a <a data-link-type=dfn href=#shadow-tree title="shadow tree">shadow tree</a>
@@ -398,7 +386,7 @@ <h3 class="heading settled heading" data-level=6.2 id=ancestor-selector><span cl
398386
looking for elements that match its argument,
399387
until it reaches the document root.
400388

401-
<h3 class="heading settled heading" data-level=6.3 id=shadow-pseudoelement><span class=secno>6.3 </span><span class=content>
389+
<h3 class="heading settled heading" data-level=5.3 id=shadow-pseudoelement><span class=secno>5.3 </span><span class=content>
402390
Selecting the Shadow Root Itself: the <a class=css data-link-type=maybe href=#selectordef-shadow title=::shadow>::shadow</a> pseudo-element</span><a class=self-link href=#shadow-pseudoelement></a></h3>
403391

404392
<p> If an element has at least one <a data-link-type=dfn href=#shadow-tree title="shadow tree">shadow tree</a>,
@@ -448,7 +436,7 @@ <h3 class="heading settled heading" data-level=6.3 id=shadow-pseudoelement><span
448436

449437

450438

451-
<h3 class="heading settled heading" data-level=6.4 id=content-combinator><span class=secno>6.4 </span><span class=content>
439+
<h3 class="heading settled heading" data-level=5.4 id=content-combinator><span class=secno>5.4 </span><span class=content>
452440
Selecting Distributed Elements: the <a class=css data-link-type=maybe href=#selectordef-content title=::content>::content</a> pseudo-element</span><a class=self-link href=#content-combinator></a></h3>
453441

454442
<p> The <dfn class=css-code data-dfn-type=selector data-export="" id=selectordef-content>::content<a class=self-link href=#selectordef-content></a></dfn> pseudo-element matches the <a data-link-type=dfn href=#distribution-list title="distribution list">distribution list</a> itself,
@@ -496,7 +484,7 @@ <h3 class="heading settled heading" data-level=6.4 id=content-combinator><span c
496484
</div>
497485

498486

499-
<h3 class="heading settled heading" data-level=6.5 id=deep-combinator><span class=secno>6.5 </span><span class=content>
487+
<h3 class="heading settled heading" data-level=5.5 id=deep-combinator><span class=secno>5.5 </span><span class=content>
500488
Selecting Through All Shadows: the <a class=css data-link-type=maybe href=#selectordef-deep title=/deep/>/deep/</a> combinator</span><a class=self-link href=#deep-combinator></a></h3>
501489

502490
<p> When a <dfn class=css-code data-dfn-type=selector data-export="" id=selectordef-deep>/deep/<a class=self-link href=#selectordef-deep></a></dfn> combinator is encountered in a selector,
@@ -670,15 +658,15 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
670658
Index</span><a class=self-link href=#index></a></h2>
671659
<div data-fill-with=index><ul class=indexlist>
672660
<li>active shadow tree, <a href=#active-shadow-tree title="section 2.1">2.1</a>
673-
<li>::content, <a href=#selectordef-content title="section 6.4">6.4</a>
674-
<li>/deep/, <a href=#selectordef-deep title="section 6.5">6.5</a>
661+
<li>::content, <a href=#selectordef-content title="section 5.4">5.4</a>
662+
<li>/deep/, <a href=#selectordef-deep title="section 5.5">5.5</a>
675663
<li>distribution list, <a href=#distribution-list title="section 2.2">2.2</a>
676-
<li>:host(), <a href=#selectordef-host title="section 6.1">6.1</a>
677-
<li>:host, <a href=#selectordef-host0 title="section 6.1">6.1</a>
678-
<li>:host-context(), <a href=#selectordef-host-context title="section 6.2">6.2</a>
664+
<li>:host(), <a href=#selectordef-host title="section 5.1">5.1</a>
665+
<li>:host, <a href=#selectordef-host0 title="section 5.1">5.1</a>
666+
<li>:host-context(), <a href=#selectordef-host-context title="section 5.2">5.2</a>
679667
<li>host element, <a href=#host-element0 title="section 2.1">2.1</a>
680668
<li>insertion point, <a href=#insertion-point title="section 2.2">2.2</a>
681-
<li>::shadow, <a href=#selectordef-shadow title="section 6.3">6.3</a>
669+
<li>::shadow, <a href=#selectordef-shadow title="section 5.3">5.3</a>
682670
<li>shadow host, <a href=#shadow-host title="section 2.1">2.1</a>
683671
<li>shadow root, <a href=#shadow-root title="section 2.1">2.1</a>
684672
<li>shadow tree, <a href=#shadow-tree title="section 2.1">2.1</a>
@@ -691,9 +679,6 @@ <h2 class="no-num no-ref heading settled heading" id=property-index><span class=
691679

692680

693681
<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>
694-
I’m assuming here that "/foo/" is the syntax we’ll agree on for named combinators.
695-
696-
<a href=#issue-46cdc4d6></a></div><div class=issue>
697682
This is basically a super-descendant combinator.
698683
If the descendant combinator had a real glyph,
699684
it would potentially be interesting to just double it.

0 commit comments

Comments
 (0)