Skip to content

Commit 0263a12

Browse files
committed
[selectors] Export the term 'scoping method'.
1 parent c479cda commit 0263a12

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

selectors/Overview.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
rel=dcterms.rights>
1212
<meta content="Selectors Level 4" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2014-03-10 name=dcterms.date>
14+
<meta content=2014-03-20 name=dcterms.date>
1515
<meta content="Elika J. Etemad" name=dcterms.creator>
1616
<meta content="Tab Atkins Jr." name=dcterms.creator>
1717
<meta content=W3C name=dcterms.publisher>
@@ -32,13 +32,13 @@
3232

3333
<h1 id=title>Selectors Level 4</h1>
3434

35-
<h2 class="no-num no-toc">Editor's Draft 10 March 2014</h2>
35+
<h2 class="no-num no-toc">Editor's Draft 20 March 2014</h2>
3636

3737
<dl>
3838
<dt>This version:
3939

4040
<dd><a href="http://dev.w3.org/csswg/selectors4/">
41-
http://www.w3.org/TR/2014/ED-selectors4-20140310/</a>
41+
http://www.w3.org/TR/2014/ED-selectors4-20140320/</a>
4242

4343
<dt>Editor's draft:
4444

@@ -1511,12 +1511,13 @@ <h3 id=scoping><span class=secno>3.5. </span> Scoped Selectors</h3>
15111511
title="virtual scoping root">virtual</dfn> one (such as a
15121512
<code>DocumentFragment</code>).
15131513

1514-
<p>There are two methods of scoping selectors:
1514+
<p>There are two <dfn data-export=data-export id=scoping-methods
1515+
title="scoping method | selector scoping method">scoping methods</dfn> for
1516+
selectors:
15151517

15161518
<dl>
1517-
<dt><dfn data-export=data-export id=scope-contained-selectors
1518-
title="scope-contained | scope-contained selector">scope-contained
1519-
selectors</dfn>
1519+
<dt><dfn data-export=data-export id=scope-contained
1520+
title="scope-contained | scope-contained selector">scope-contained</dfn>
15201521

15211522
<dd> With this method of scoping, selectors match as if the <a
15221523
href="#scoping-root"><i>scoping root</i></a> were the root of the
@@ -1527,7 +1528,6 @@ <h3 id=scoping><span class=secno>3.5. </span> Scoped Selectors</h3>
15271528

15281529
<dt><dfn data-export=data-export id=scope-filtered
15291530
title="scope-filtered | scope-filtered selector">scope-filtered</dfn>
1530-
selectors
15311531

15321532
<dd> With this method of scoping, a selector matches if the <a
15331533
href="#subjects"><i>subject</i></a> of the selector is within the scope,
@@ -1545,7 +1545,7 @@ <h3 id=scoping><span class=secno>3.5. </span> Scoped Selectors</h3>
15451545

15461546
<p> On the other hand, the selectors within an <a href="#ref-HTML5"
15471547
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a> scoped stylesheet define <a
1548-
href="#scope-contained-selectors"><i>scope-contained</i></a> selectors.
1548+
href="#scope-contained"><i>scope-contained</i></a> selectors.
15491549
</div>
15501550

15511551
<p>Unless otherwise specified, the <a href="#scoping-root"><i>scoping
@@ -1571,8 +1571,8 @@ <h3 id=relative><span class=secno>3.6. </span> Relative Selectors</h3>
15711571
href="#absolutize">absolutized</a> before matching.
15721572

15731573
<p> Relative selectors, once absolutized, can additionally be <a
1574-
href="#scope-contained-selectors"><i>scope-contained</i></a> (such as
1575-
within the <code>::distributed()</code> pseudo-class [[SHADOWDOM]]) or <a
1574+
href="#scope-contained"><i>scope-contained</i></a> (such as within the
1575+
<code>::distributed()</code> pseudo-class [[SHADOWDOM]]) or <a
15761576
href="#scope-filtered"><i>scope-filtered</i></a>.
15771577

15781578
<h4 id=absolutizing><span class=secno>3.6.1. </span> Absolutizing a
@@ -4386,7 +4386,7 @@ <h3 id=match-a-selector><span class=secno>17.3. </span> Match A Selector</h3>
43864386
selector</dfn> <var title="">selector</var> against a tree of nodes
43874387
<var>nodes</var>. Optionally, a <a href="#scoping-root"><i>scoping
43884388
root</i></a> and scoping method (<a
4389-
href="#scope-contained-selectors"><i>scope-contained</i></a> or <a
4389+
href="#scope-contained"><i>scope-contained</i></a> or <a
43904390
href="#scope-filtered"><i>scope-filtered</i></a>) may be provided.
43914391
Optionally, an explicit <a href="#reference-element-set"><i>reference
43924392
element set</i></a> <var>element set</var> (which may be empty) may be
@@ -4607,8 +4607,8 @@ <h3 id=normative-references><span class=secno>21.1. </span> Normative
46074607
<dt id=ref-RFC2119>[RFC2119]
46084608

46094609
<dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key
4610-
words for use in RFCs to Indicate Requirement Levels.</cite></a> Internet
4611-
RFC 2119. URL: <a
4610+
words for use in RFCs to Indicate Requirement Levels.</cite></a> RFC
4611+
2119. URL: <a
46124612
href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>
46134613
</dd>
46144614
<!---->
@@ -4643,8 +4643,8 @@ <h3 id=informative-references><span class=secno>21.2. </span> Informative
46434643

46444644
<dd>A. Phillips; M. Davis. <a
46454645
href="ftp://ftp.rfc-editor.org/in-notes/bcp/bcp47.txt"><cite>Tags for
4646-
Identifying Languages.</cite></a> September 2009. BCP 47. Internet Best
4647-
Current Practice. Currently represented by RFC 5646. URL: <a
4646+
Identifying Languages.</cite></a> September 2009. BCP 47. Currently
4647+
represented by RFC 5646. URL: <a
46484648
href="ftp://ftp.rfc-editor.org/in-notes/bcp/bcp47.txt">ftp://ftp.rfc-editor.org/in-notes/bcp/bcp47.txt</a>
46494649
</dd>
46504650
<!---->
@@ -4711,7 +4711,7 @@ <h3 id=informative-references><span class=secno>21.2. </span> Informative
47114711

47124712
<dd>A. Phillips; M. Davis. <a
47134713
href="http://www.ietf.org/rfc/rfc4647.txt"><cite>Matching of Language
4714-
Tags.</cite></a> September 2006. Internet RFC 4647. URL: <a
4714+
Tags.</cite></a> September 2006. RFC 4647. URL: <a
47154715
href="http://www.ietf.org/rfc/rfc4647.txt">http://www.ietf.org/rfc/rfc4647.txt</a>
47164716
</dd>
47174717
<!---->

selectors/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,18 +766,18 @@ <h3 id="scoping">
766766
and may be either a true element (the <dfn data-export>scoping element</dfn>)
767767
or a <dfn data-export title="virtual scoping root">virtual</dfn> one (such as a <code>DocumentFragment</code>).
768768

769-
<p>There are two methods of scoping selectors:
769+
<p>There are two <dfn data-export title="scoping method | selector scoping method">scoping methods</dfn> for selectors:
770770

771771
<dl>
772-
<dt><dfn data-export title="scope-contained | scope-contained selector">scope-contained selectors</dfn>
772+
<dt><dfn data-export title="scope-contained | scope-contained selector">scope-contained</dfn>
773773
<dd>
774774
With this method of scoping, selectors match as if
775775
the <i>scoping root</i> were the root of the document:
776776
all <i>compound selectors</i> must be represented within the scope.
777777
(The <code>:root</code> pseudo-class, however,
778778
still only matches the actual root of the document.)
779779

780-
<dt><dfn data-export title="scope-filtered | scope-filtered selector">scope-filtered</dfn> selectors
780+
<dt><dfn data-export title="scope-filtered | scope-filtered selector">scope-filtered</dfn>
781781
<dd>
782782
With this method of scoping, a selector matches if
783783
the <i>subject</i> of the selector is within the scope,

0 commit comments

Comments
 (0)