Skip to content

Commit 2746c01

Browse files
committed
[css-scoping] Fix Bikeshed errors. Add issue tracking link.
1 parent 4388bac commit 2746c01

2 files changed

Lines changed: 407 additions & 437 deletions

File tree

css-scoping/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Level: 1
44
Shortname: css-scoping
55
Group: CSSWG
66
Status: ED
7-
!Date: 2014-04-03
87
TR: http://www.w3.org/TR/css-scoping-1/
98
ED: http://dev.w3.org/csswg/css-scoping/
109
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/
1110
Editor: Elika J Etemad, Invited Expert, http://fantasai.inkedblade.net/contact
1211
Abstract: This specification defines various scoping/encapsulation mechanisms for CSS, including scoped styles and the ''@scope'' rule, Shadow DOM selectors, and page/region-based styling.
1312
Ignored Terms: content, shadowroot, scoped
1413
Link Defaults: selectors (dfn) child combinator, html5 (element) style
14+
Issue Tracking: Bugzilla https://www.w3.org/Bugs/Public/buglist.cgi?component=Scoping&list_id=47685&product=CSS&resolution=---
1515
</pre>
1616

1717
<h2 id="intro">
@@ -236,27 +236,27 @@ Shadow Encapsulation</h2>
236236
An <a>insertion point</a> must not generate any boxes.
237237
Instead, the elements in its <a>distribution list</a> generate boxes as normal,
238238
as if they all replaced the <a>insertion point</a> in-place.
239-
<span class='note'>(Akin to the behavior of ''display-box: contents''.)</span>
239+
<span class='note'>(Akin to the behavior of ''display-outside: contents''.)</span>
240240

241241
<h3 id='selectors-data-model'>
242242
Shadow DOM Selection Model</h3>
243243

244-
Elements in the <a>element tree</a>
245-
additionally have zero or more <a>shadow trees</a>
244+
Elements in the DOM
245+
have zero or more <a>shadow trees</a>
246246
and zero or one <a>distribution lists</a>.
247247

248248
Note: The "descendants" of an element
249249
are based on the children of the element,
250250
which does not include the <a>shadow trees</a> or <a>distribution lists</a> of the element.
251251

252252
When a selector is matched against a <a>shadow tree</a>,
253-
the <a>initial selector match list</a>
254-
is the <a>shadow host</a>,
253+
the <a>selector match list</a>
254+
is initially the <a>shadow host</a>,
255255
followed by all the <a>top-level elements</a> of the <a>shadow tree</a>
256256
and their descendants,
257257
ordered by a pre-order traversal.
258258

259-
<h4 id='host-element'>
259+
<h4 id='host-element-in-tree'>
260260
Host Elements in a Shadow Tree</h4>
261261

262262
A <a>shadow host</a> is outside of the <a>shadow trees</a> it hosts,
@@ -320,7 +320,7 @@ Selecting Into the Light: the '':host'', '':host()'', and '':host-context()'' ps
320320
In any other context,
321321
it matches nothing.
322322

323-
The <dfn selector title=':host()'>:host()</dfn> function pseudo-class
323+
The <dfn selector id="selectordef-host-function" title=':host()'>:host()</dfn> function pseudo-class
324324
has the syntax:
325325

326326
<pre>:host( <<compound-selector>> )</pre>
@@ -629,7 +629,7 @@ Fragmented Styling</h2>
629629
the rendering changes
630630
if we apply this styling specific to ''#region1''.
631631
Note how less text fits into this box
632-
now that the 'font-weight' is
632+
now that the 'font-weight!!property' is
633633
bold instead of normal.</p>
634634

635635
<figure>

0 commit comments

Comments
 (0)