Skip to content

Commit 0b8c920

Browse files
committed
[css-scoping] Rename /deep/ to >>>, per WG resolution.
1 parent b158f8a commit 0b8c920

File tree

2 files changed

+8
-39
lines changed

2 files changed

+8
-39
lines changed

css-scoping/Overview.bs

+3-12
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ Selecting Shadow-Projected Content: the ''::content'' pseudo-element</h4>
491491

492492

493493
<h4 id='deep-combinator'>
494-
Selecting Through Shadows: the ''/deep/'' combinator</h4>
494+
Selecting Through Shadows: the ''>>>'' combinator</h4>
495495

496-
When a <dfn selector>/deep/</dfn> combinator is encountered in a selector,
496+
When a <dfn selector>>>></dfn> combinator is encountered in a selector,
497497
replace every element in the <a>selector match list</a>
498498
with every element reachable from the original element
499499
by traversing any number of child lists or shadow trees.
@@ -518,20 +518,11 @@ Selecting Through Shadows: the ''/deep/'' combinator</h4>
518518
</pre>
519519

520520
For a stylesheet in the outer document,
521-
the selector ''x-foo /deep/ span''
521+
the selector ''x-foo >>> span''
522522
selects all three of <code>&lt;span></code> elements:
523523
''#top'', ''#not-top'', <em>and</em> ''#nested''.
524524
</div>
525525

526-
<p class='issue'>
527-
This is basically a super-descendant combinator.
528-
If the descendant combinator had a real glyph,
529-
it would potentially be interesting to just double it.
530-
Maybe we can give the descendant combinator a pseudonym of ''>>'',
531-
as it itself is a super-child combinator?
532-
Then ''/deep/'' could be spelled ''>>>''
533-
534-
535526

536527

537528
<h3 id='shadow-cascading'>

css-scoping/Overview.html

+5-27
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
225225
<li><a href="#content-combinator"><span class="secno">3.2.3</span> <span class="content">
226226
Selecting Shadow-Projected Content: the <span class="css" data-link-type="maybe" title="::content">::content</span> pseudo-element</span></a></li>
227227
<li><a href="#deep-combinator"><span class="secno">3.2.4</span> <span class="content">
228-
Selecting Through Shadows: the <span class="css" data-link-for="">deep/</span> combinator</span></a></li>
228+
Selecting Through Shadows: the <span class="css" data-link-type="maybe" title=">>>">>>></span> combinator</span></a></li>
229229
</ul>
230230
</li>
231231
<li><a href="#shadow-cascading"><span class="secno">3.3</span> <span class="content">
@@ -1014,11 +1014,11 @@ <h4 class="heading settled" data-level="3.2.3" id="content-combinator"><span cla
10141014

10151015

10161016
<h4 class="heading settled" data-level="3.2.4" id="deep-combinator"><span class="secno">3.2.4. </span><span class="content">
1017-
Selecting Through Shadows: the <span class="css" data-link-for="">deep/</span> combinator</span><a class="self-link" href="#deep-combinator"></a></h4>
1017+
Selecting Through Shadows: the <a class="css" data-link-type="maybe" href="#selectordef-">>>></a> combinator</span><a class="self-link" href="#deep-combinator"></a></h4>
10181018

10191019

10201020

1021-
<p>When a <dfn class="css" 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,
1021+
<p>When a <dfn class="css" data-dfn-type="selector" data-export="" id="selectordef-">>>><a class="self-link" href="#selectordef-"></a></dfn> combinator is encountered in a selector,
10221022
replace every element in the <a data-link-type="dfn" href="http://dev.w3.org/csswg/selectors-4/#selector-match-list">selector match list</a>
10231023
with every element reachable from the original element
10241024
by traversing any number of child lists or shadow trees.</p>
@@ -1047,27 +1047,17 @@ <h4 class="heading settled" data-level="3.2.4" id="deep-combinator"><span class=
10471047

10481048

10491049
<p>For a stylesheet in the outer document,
1050-
the selector <span class="css">x-foo /deep/ span</span>
1050+
the selector <span class="css">x-foo >>> span</span>
10511051
selects all three of <code>&lt;span></code> elements:
10521052
<span class="css">#top</span>, <span class="css">#not-top</span>, <em>and</em> <span class="css">#nested</span>.</p>
10531053

10541054

10551055
</div>
10561056

10571057

1058-
1059-
<p class="issue" id="issue-dde39fe8"><a class="self-link" href="#issue-dde39fe8"></a>
1060-
This is basically a super-descendant combinator.
1061-
If the descendant combinator had a real glyph,
1062-
it would potentially be interesting to just double it.
1063-
Maybe we can give the descendant combinator a pseudonym of <span class="css">>></span>,
1064-
as it itself is a super-child combinator?
1065-
Then <span class="css" data-link-for="">deep/</span> could be spelled <span class="css">>>></span>
1066-
10671058

10681059

10691060

1070-
</p>
10711061
<h3 class="heading settled" data-level="3.3" id="shadow-cascading"><span class="secno">3.3. </span><span class="content">
10721062
Shadow Cascading &amp; Inheritance</span><a class="self-link" href="#shadow-cascading"></a></h3>
10731063

@@ -1707,8 +1697,8 @@ <h3 class="no-num heading settled" id="informative"><span class="content">Inform
17071697
</dl>
17081698
<h2 class="no-num heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2>
17091699
<ul class="indexlist">
1700+
<li>>>>, <a href="#selectordef-" title="section 3.2.4">3.2.4</a></li>
17101701
<li>::content, <a href="#selectordef-content" title="section 3.2.3">3.2.3</a></li>
1711-
<li>/deep/, <a href="#selectordef--deep-" title="section 3.2.4">3.2.4</a></li>
17121702
<li>distributed nodes, <a href="#distributed-nodes" title="section 3">3</a></li>
17131703
<li>fragment pseudo-element, <a href="#fragment-pseudo-element" title="section 4">4</a></li>
17141704
<li>:host(), <a href="#selectordef-host-function" title="section 3.2.1">3.2.1</a></li>
@@ -1768,18 +1758,6 @@ <h2 class="no-num heading settled" id="issues-index"><span class="content">Issue
17681758
to the projected content of a shadow tree.
17691759

17701760
<a href="#issue-a514442b"></a></div>
1771-
<div class="issue">
1772-
This is basically a super-descendant combinator.
1773-
If the descendant combinator had a real glyph,
1774-
it would potentially be interesting to just double it.
1775-
Maybe we can give the descendant combinator a pseudonym of <span class="css">>></span>,
1776-
as it itself is a super-child combinator?
1777-
Then <span class="css" data-link-for="">deep/</span> could be spelled <span class="css">>>></span>
1778-
1779-
1780-
1781-
1782-
<a href="#issue-dde39fe8"></a></div>
17831761
<div class="issue">
17841762
Extend this to specify:
17851763

0 commit comments

Comments
 (0)