|
19 | 19 |
|
20 | 20 | <h1 id=title>Selectors Level 4</h1> |
21 | 21 |
|
22 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 June 2012</h2> |
| 22 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 August 2012</h2> |
23 | 23 |
|
24 | 24 | <dl> |
25 | 25 | <dt>This version: <!-- |
26 | | - <dd><a href="http://www.w3.org/TR/2012/ED-selectors4-20120622/"> |
27 | | - http://www.w3.org/TR/2012/WD-selectors4-20120622/</a> |
| 26 | + <dd><a href="http://www.w3.org/TR/2012/ED-selectors4-20120809/"> |
| 27 | + http://www.w3.org/TR/2012/WD-selectors4-20120809/</a> |
28 | 28 |
|
29 | 29 | <dt>Editor's draft: |
30 | 30 | --> |
@@ -2219,22 +2219,24 @@ <h3 id=target-pseudo><span class=secno>7.4. </span> The target pseudo-class |
2219 | 2219 | <h3 id=scope-pseudo><span class=secno>7.5. </span> The contextual reference |
2220 | 2220 | element pseudo-class ‘<code class=css>:scope</code>’</h3> |
2221 | 2221 |
|
2222 | | - <p class=issue>Should this be renamed to <code>:context</code>, since it's |
2223 | | - referencing a <em>context</em>ual reference element? |
2224 | | - |
2225 | | - <p>The <code>:scope</code> pseudo-class represents any element that is in |
2226 | | - the <a href="#contextual-reference-element-set"><i>contextual reference |
2227 | | - element set</i></a>. If no contextual reference element set is given, |
2228 | | - <code>:scope</code> is equivalent to <code>:root</code>. |
2229 | | - |
2230 | | - <p>The <dfn id=contextual-reference-element-set>contextual reference |
2231 | | - element set</dfn> is a (potentially empty) explicitly-specified set of |
| 2222 | + <p> The <code>:scope</code> pseudo-class represents any element that is in |
| 2223 | + the <dfn id=contextual-reference-element-set>contextual reference element |
| 2224 | + set</dfn>. This is is a (potentially empty) explicitly-specified set of |
2232 | 2225 | elements, such as that specified by the <code>querySelector()</code> call |
2233 | 2226 | in <a href="#SELECTORS-API2" |
2234 | | - rel=biblioentry>[SELECTORS-API2]<!--{{SELECTORS-API2}}--></a>. |
2235 | | - Specifications intending for this pseudo-class to match specific elements |
2236 | | - rather than the document's root element must define a contextual reference |
2237 | | - element set. |
| 2227 | + rel=biblioentry>[SELECTORS-API2]<!--{{SELECTORS-API2}}--></a>, or the |
| 2228 | + parent element of a <a |
| 2229 | + href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-style-element">scoped |
| 2230 | + <code><style></code> element</a> in <a href="#HTML5" |
| 2231 | + rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>, which is typically used to |
| 2232 | + "scope" a selector so that it only matches within a subtree. |
| 2233 | + |
| 2234 | + <p> If no contextual reference element set is given, <code>:scope</code> is |
| 2235 | + equivalent to <code>:root</code>. Specifications intending for this |
| 2236 | + pseudo-class to match specific elements rather than the document's root |
| 2237 | + element must define a <a |
| 2238 | + href="#contextual-reference-element-set"><i>contextual reference element |
| 2239 | + set</i></a>. |
2238 | 2240 |
|
2239 | 2241 | <h2 id=useraction-pseudos><span class=secno>8. </span> User Action |
2240 | 2242 | Pseudo-classes</h2> |
@@ -3941,10 +3943,10 @@ <h3 id=informative-references><span class=secno>20.2. </span> Informative |
3941 | 3943 | <dt id=SELECTORS-API2>[SELECTORS-API2] |
3942 | 3944 |
|
3943 | 3945 | <dd>Lachlan Hunt. <a |
3944 | | - href="http://www.w3.org/TR/2010/WD-selectors-api2-20100119/"><cite>Selectors |
3945 | | - API Level 2.</cite></a> 19 January 2010. W3C Working Draft. (Work in |
| 3946 | + href="http://www.w3.org/TR/2012/WD-selectors-api2-20120628/"><cite>Selectors |
| 3947 | + API Level 2.</cite></a> 28 June 2012. W3C Working Draft. (Work in |
3946 | 3948 | progress.) URL: <a |
3947 | | - href="http://www.w3.org/TR/2010/WD-selectors-api2-20100119/">http://www.w3.org/TR/2010/WD-selectors-api2-20100119/</a> |
| 3949 | + href="http://www.w3.org/TR/2012/WD-selectors-api2-20120628/">http://www.w3.org/TR/2012/WD-selectors-api2-20120628/</a> |
3948 | 3950 | </dd> |
3949 | 3951 | <!----> |
3950 | 3952 |
|
|
0 commit comments