Skip to content

Commit e26782e

Browse files
committed
[selectors4] More correction - element.qSA is scope-filtered, element.find is scope-relative, scoped stylesheets are scope-contained.
1 parent 52e3332 commit e26782e

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

selectors4/Overview.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
rel=dcterms.rights>
1010
<meta content="Selectors Level 4" name=dcterms.title>
1111
<meta content=text name=dcterms.type>
12-
<meta content=2013-01-15 name=dcterms.issued>
12+
<meta content=2013-01-16 name=dcterms.issued>
1313
<meta content="http://dev.w3.org/csswg/selectors4/" name=dcterms.creator>
1414
<meta content=W3C name=dcterms.publisher>
15-
<meta content="http://www.w3.org/TR/2013/ED-selectors4-20130115/"
15+
<meta content="http://www.w3.org/TR/2013/ED-selectors4-20130116/"
1616
name=dcterms.identifier>
1717
<link href="../default.css" rel=stylesheet type="text/css">
1818
<style type="text/css">
@@ -29,14 +29,14 @@
2929

3030
<h1 id=title>Selectors Level 4</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 January
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 January
3333
2013</h2>
3434

3535
<dl>
3636
<dt>This version:
3737

38-
<dd><a href="http://www.w3.org/TR/2013/ED-selectors4-20130115/">
39-
http://www.w3.org/TR/2013/ED-selectors4-20130115/</a>
38+
<dd><a href="http://www.w3.org/TR/2013/ED-selectors4-20130116/">
39+
http://www.w3.org/TR/2013/ED-selectors4-20130116/</a>
4040

4141
<dt>Editor's draft:
4242

@@ -1273,14 +1273,13 @@ <h3 id=scoping><span class=secno>3.3. </span> Scoped Selectors</h3>
12731273
in <a href="#SELECTORS-API2"
12741274
rel=biblioentry>[SELECTORS-API2]<!--{{SELECTORS-API2}}--></a> allows the
12751275
author to define a <a href="#scope-filtered"><i>scope-filtered</i></a>
1276-
selector.
1277-
1278-
<p> On the other hand, the <code>element.find()</code> function defined in
1279-
<a href="#SELECTORS-API2"
1280-
rel=biblioentry>[SELECTORS-API2]<!--{{SELECTORS-API2}}--></a> and the
1281-
selectors within an <a href="#HTML5"
1282-
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a> scoped stylesheet, define <a
1283-
href="#scope-relative"><i>scope-relative</i></a> selectors.
1276+
selector, while the similar <code>element.find</code> function defined in
1277+
the same spec uses <a href="#scope-relative"><i>scope-relative</i></a>
1278+
selectors.
1279+
1280+
<p> On the other hand, the selectors within an <a href="#HTML5"
1281+
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a> scoped stylesheet define <a
1282+
href="#scope-contained"><i>scope-contained</i></a> selectors.
12841283
</div>
12851284

12861285
<h3 id=pseudo-classes><span class=secno>3.4. </span> Pseudo-classes</h3>

selectors4/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,13 @@ <h3 id="scoping">
632632
<p>
633633
For example,
634634
the <code>element.querySelector()</code> function defined in [[SELECTORS-API2]]
635-
allows the author to define a <i>scope-filtered</i> selector.
635+
allows the author to define a <i>scope-filtered</i> selector,
636+
while the similar <code>element.find</code> function defined in the same spec
637+
uses <i>scope-relative</i> selectors.
636638

637639
<p>
638-
On the other hand, the <code>element.find()</code> function defined in [[SELECTORS-API2]]
639-
and the selectors within an [[HTML5]] scoped stylesheet,
640-
define <i>scope-relative</i> selectors.
640+
On the other hand, the selectors within an [[HTML5]] scoped stylesheet
641+
define <i>scope-contained</i> selectors.
641642
</div>
642643

643644

0 commit comments

Comments
 (0)