|
54 | 54 | </p> |
55 | 55 | <h1 class="p-name no-ref" id=title>Non-element Selectors</h1> |
56 | 56 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
57 | | - <span class=dt-updated><span class=value-title title=20140213>13 February 2014</span></span></span></h2> |
| 57 | + <span class=dt-updated><span class=value-title title=20140215>15 February 2014</span></span></span></h2> |
58 | 58 | <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/selectors-nonelement/>http://dev.w3.org/csswg/selectors-nonelement/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/selectors-nonelement/>http://dev.w3.org/csswg/selectors-nonelement/</a> |
59 | 59 | <dt>Feedback:</dt> |
60 | 60 | <dd><a href="mailto:www-style@w3.org?subject=%5Bselectors-nonelement%5D%20feedback">www-style@w3.org</a> |
61 | 61 | with subject line |
62 | 62 | “<kbd>[selectors-nonelement] <var>… message topic …</var></kbd>”(<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)<dt>Test Suite:<dd>None Yet<dt>Editors: |
63 | 63 | <dd class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:jirka@kosek.cz>Jirka Kosek</a> (<span class="p-org org">Invited Expert</span>)<dd class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://xanthir.com/contact/>Tab Atkins Jr.</a> (<span class="p-org org">Google</span>)</dl></div> |
64 | 64 | <div data-fill-with=warning></div> |
65 | | - <p class=copyright data-fill-with=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2013 <a href=http://www.w3.org/><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href=http://www.csail.mit.edu/><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href=http://www.ercim.eu/><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href=http://www.keio.ac.jp/>Keio</a>, <a href=http://ev.buaa.edu.cn/>Beihang</a>), All Rights Reserved. W3C <a href=http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer>liability</a>, <a href=http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks>trademark</a> and <a href=http://www.w3.org/Consortium/Legal/copyright-documents>document use</a> rules apply. |
| 65 | + <p class=copyright data-fill-with=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2014 <a href=http://www.w3.org/><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href=http://www.csail.mit.edu/><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href=http://www.ercim.eu/><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href=http://www.keio.ac.jp/>Keio</a>, <a href=http://ev.buaa.edu.cn/>Beihang</a>), All Rights Reserved. W3C <a href=http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer>liability</a>, <a href=http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks>trademark</a> and <a href=http://www.w3.org/Consortium/Legal/copyright-documents>document use</a> rules apply. |
66 | 66 | </p> |
67 | 67 | <hr title="Separator for header"> |
68 | 68 | </div> |
@@ -104,22 +104,25 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=status><span class=c |
104 | 104 | must disclose the information in accordance with <a href=http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure>section 6 of the W3C Patent Policy</a>.</div> |
105 | 105 | <div data-fill-with=at-risk></div> |
106 | 106 |
|
107 | | -<h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class=content>Table of contents</span></h2> |
108 | | -<div data-fill-with=table-of-contents><ul class=toc><li><a href=#intro><span class=secno>1</span> |
109 | | -Introduction</a><li><a href=#non-element-selectors><span class=secno>2</span> |
110 | | -Non-element Selectors</a><ul class=toc><li><a href=#attribute-node-selector><span class=secno>2.1</span> |
111 | | -Attribute node selector</a></ul><li><a href=#conformance><span class=secno></span> |
112 | | -Conformance</a><ul class=toc><li><a href=#conventions><span class=secno></span> |
113 | | -Document conventions</a><li><a href=#conformance-classes><span class=secno></span> |
114 | | -Conformance classes</a><li><a href=#partial><span class=secno></span> |
115 | | -Partial implementations</a><li><a href=#experimental><span class=secno></span> |
116 | | -Experimental implementations</a><li><a href=#testing><span class=secno></span> |
117 | | -Non-experimental implementations</a></ul><li><a href=#references><span class=secno></span> |
118 | | -References</a><ul class=toc><li><a href=#normative><span class=secno></span> |
119 | | -Normative References</a><li><a href=#informative><span class=secno></span> |
120 | | -Informative References</a></ul><li><a href=#index><span class=secno></span> |
121 | | -Index</a><li><a href=#property-index><span class=secno></span> |
122 | | -Property index</a></ul></div> |
| 107 | +<h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class=content>Table of Contents</span></h2> |
| 108 | +<div data-fill-with=table-of-contents><ul class=toc> |
| 109 | + <li><a href=#intro><span class=secno>1</span> Introduction</a> |
| 110 | + <li><a href=#non-element-selectors><span class=secno>2</span> Non-element Selectors</a> |
| 111 | + <ul class=toc> |
| 112 | + <li><a href=#attribute-node-selector><span class=secno>2.1</span> Attribute node selector</a></ul> |
| 113 | + <li><a href=#conformance><span class=secno></span> Conformance</a> |
| 114 | + <ul class=toc> |
| 115 | + <li><a href=#conventions><span class=secno></span> Document conventions</a> |
| 116 | + <li><a href=#conformance-classes><span class=secno></span> Conformance classes</a> |
| 117 | + <li><a href=#partial><span class=secno></span> Partial implementations</a> |
| 118 | + <li><a href=#experimental><span class=secno></span> Experimental implementations</a> |
| 119 | + <li><a href=#testing><span class=secno></span> Non-experimental implementations</a></ul> |
| 120 | + <li><a href=#references><span class=secno></span> References</a> |
| 121 | + <ul class=toc> |
| 122 | + <li><a href=#normative><span class=secno></span> Normative References</a> |
| 123 | + <li><a href=#informative><span class=secno></span> Informative References</a></ul> |
| 124 | + <li><a href=#index><span class=secno></span> Index</a> |
| 125 | + <li><a href=#property-index><span class=secno></span> Property index</a></ul></div> |
123 | 126 |
|
124 | 127 |
|
125 | 128 |
|
@@ -157,22 +160,18 @@ <h3 class="heading settled heading" data-level=2.1 id=attribute-node-selector><s |
157 | 160 | if such an attribute exists on the <a data-link-spec=selectors data-link-type=dfn href=http://dev.w3.org/csswg/selectors-4/#originating-element title="originating element">originating element</a>. |
158 | 161 |
|
159 | 162 | <div class=example> |
160 | | - For example, |
161 | | - the selector <span class=css data-link-type=maybe title=::attr(title)>::attr(title)</span> selects all the <code>title</code> attributes in the document. |
162 | | - </div> |
| 163 | + The following ITS rules use an attribute node selector to switch off translatability of <code>title</code> attributes on <code>abbr</code> elements. |
163 | 164 |
|
164 | | - <div class=example> |
165 | | - The following ITS rules use attribute node selector to switch off |
166 | | - translatability of <code>title</code> attribute on <code>abbr</code> elements. |
167 | | - <pre><rules xmlns="http://www.w3.org/2005/11/its" |
168 | | - version="2.0" |
169 | | - queryLanguage="css"> |
170 | | - <translateRule selector="abbr::attr(title)" translate="no"/> |
171 | | -</rules> |
| 165 | + <pre> <rules xmlns="http://www.w3.org/2005/11/its" |
| 166 | + version="2.0" |
| 167 | + queryLanguage="css"> |
| 168 | + <translateRule selector="abbr::attr(title)" translate="no"/> |
| 169 | + </rules> |
172 | 170 | </pre> |
173 | 171 | </div> |
174 | 172 |
|
175 | | -<p> In CSS, <a data-link-type=dfn href=#attribute-node-pseudo-element title="attribute node pseudo-elements">attribute node pseudo-elements</a> never generate boxes. |
| 173 | +<p> Although entirely valid in Selectors used in the scope of CSS, |
| 174 | + attribute node pseudo-elements never generate boxes. |
176 | 175 |
|
177 | 176 | <h2 class="no-ref no-num heading settled heading" id=conformance><span class=content> |
178 | 177 | Conformance</span><a class=self-link href=#conformance></a></h2> |
|
0 commit comments