Skip to content

Commit 41bf250

Browse files
committed
:scope word-smithing
1 parent 7621626 commit 41bf250

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

selectors4/Overview.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,14 +1803,14 @@ <h3 id=scope-pseudo><span class=secno>7.3. </span> The scope pseudo-class
18031803
:scope</h3>
18041804

18051805
<p>Sometimes the host language applies selectors within a limited scope
1806-
within the document. For example, the <i>contextual reference node</i> in
1807-
a <code>querySelector</code> call [[SELECT-API2]] or the parent element of
1808-
a scoped HTML <code>&lt;style&gt;</code> element <a href="#HTML5"
1806+
within the document. For example, a <i>contextual reference node</i> in a
1807+
<code>querySelector</code> call [[SELECT-API2]] or the parent element of a
1808+
scoped HTML <code>&lt;style&gt;</code> element <a href="#HTML5"
18091809
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a> defines a scope. The
1810-
<code>:scope</code> pseudo-class represents an element that defines the
1811-
scope of the selector. If no scope is given, <code>:scope</code> is
1812-
equivalent to <code>:root<code>. <span class=issue>If the scope is not
1813-
defined by an element, then ???.</span> </code></code>
1810+
<code>:scope</code> pseudo-class represents an element that defines scope
1811+
for the selector. If no scope is given, <code>:scope</code> is equivalent
1812+
to <code>:root</code>. <span class=issue>If the scope is not defined by an
1813+
element, then ???.</span>
18141814

18151815
<h3 id=target-pseudo><span class=secno>7.4. </span> The target pseudo-class
18161816
:target</h3>

selectors4/Overview.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,12 +1325,12 @@ <h3 id=scope-pseudo>
13251325
The scope pseudo-class :scope</h3>
13261326

13271327
<p>Sometimes the host language applies selectors within a limited scope within
1328-
the document. For example, the <i>contextual reference node</i> in a
1328+
the document. For example, a <i>contextual reference node</i> in a
13291329
<code>querySelector</code> call [[SELECT-API2]] or the parent element of a
13301330
scoped HTML <code>&lt;style&gt;</code> element [[HTML5]] defines a scope.
1331-
The <code>:scope</code> pseudo-class represents an element that defines the
1332-
scope of the selector. If no scope is given, <code>:scope</code> is equivalent
1333-
to <code>:root<code>.
1331+
The <code>:scope</code> pseudo-class represents an element that defines
1332+
scope for the selector. If no scope is given, <code>:scope</code> is
1333+
equivalent to <code>:root</code>.
13341334
<span class="issue">If the scope is not defined by an element, then ???.</span>
13351335

13361336
<h3 id=target-pseudo>

0 commit comments

Comments
 (0)