/[suikacvs]/markup/selectors/ssft/ssft-work.en.html
Suika

Contents of /markup/selectors/ssft/ssft-work.en.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.24 - (hide annotations) (download) (as text)
Mon Nov 5 11:29:14 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.23: +6 -5 lines
File MIME type: text/html
s/result/r/ for some wrong ones

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en" class="formal-specification status-work-in-progress">
3     <head>
4 wakaba 1.2 <title>Selectors Serialization Format for Testing (SSFT) Specification</title>
5 wakaba 1.1 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/spec">
6     <link rel="license" href="http://suika.fam.cx/c/gnu/fdl">
7     </head>
8     <body class="has-abstract">
9    
10     <div class="header">
11 wakaba 1.2 <h1>Selectors Serialization Format for Testing (<abbr>SSFT</abbr>)
12     Specification</h1>
13 wakaba 1.19 <h2>Working Draft <time datetime=2007-11-05>5 November 2007</time></h2>
14 wakaba 1.1
15     <dl class="versions-uri">
16     <dt>This Version</dt>
17     <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/selectors/ssft/ssft"
18     >http://suika.fam.cx/www/markup/selectors/ssft/ssft</a>&gt;</code></dd>
19     <dt>Latest Version</dt>
20     <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/selectors/ssft/ssft"
21     >http://suika.fam.cx/www/markup/selectors/ssft/ssft</a>&gt;</code></dd>
22     <!--
23     <dt>Latest Working Draft</dt>
24     -->
25     <!-- <dt>Previous Version</dt> -->
26 wakaba 1.5 <dt>Version History</dt>
27     <dd><code class=URI>&lt;<a href="http://suika.fam.cx/gate/cvs/markup/selectors/ssft/ssft.en.html">http://suika.fam.cx/gate/cvs/markup/selectors/ssft/ssft.en.html</a>&gt;</code></dd>
28 wakaba 1.1 </dl>
29     <dl class="authors" id="author">
30     <dt>Author</dt>
31     <dd><a href="http://suika.fam.cx/~wakaba/who?" rel="author"
32     lang=ja>Wakaba</a>
33     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx" rel="author"
34     >w@suika.fam.cx</a>&gt;</code></dd>
35     </dl>
36    
37 wakaba 1.5 <p class="copyright" lang="en">&#xA9; <time>2007</time> <a
38 wakaba 1.1 href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.
39     Permission is granted to copy, distribute and/or modify this document
40     under the terms of the <a rel="license"
41     href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>,
42     Version 1.2
43     or any later version published by the <a
44     href="http://www.fsf.org/">Free Software Foundation</a>;
45     with no Invariant Sections, no Front$B!>(BCover Texts, and no Back$B!>(BCover
46     Texts. A copy of the license is
47     available at <code class="URI">&lt;<a
48     href="http://www.gnu.org/copyleft/fdl.html"
49     rel="license">http://www.gnu.org/copyleft/fdl.html</a>&gt;</code>.</p>
50     </div>
51    
52     <div id="abstract" class="section">
53     <h2>Abstract</h2>
54    
55 wakaba 1.22 <p>This document defines
56     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>,
57     a subset of Selectors language which is suitable for describing results
58     of Selectors parsing tests.</p>
59 wakaba 1.1
60     </div>
61    
62     <div id="status" class="section">
63     <h2>Status of This Document</h2>
64    
65 wakaba 1.5 <p class=section-info><em>This section describes the status of this document
66 wakaba 1.1 at the time of its publication. Other documents
67     might supersede this document.</em></p>
68    
69 wakaba 1.10 <p>This document is a working draft, produced as part of the
70     <a href="http://suika.fam.cx/www/markup/html/whatpm/readme">Whatpm</a>
71     subproject
72 wakaba 1.5 of the <a href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai</a>
73     project. It might be updated, replaced, or obsoleted by
74 wakaba 1.1 other documents at any time. It is inappropriate to
75     cite this document as other than <q>work in progress</q>.</p>
76    
77     <p>Comments on this document are welcome and
78     may be sent to the <a href="#author">author</a>.</p>
79    
80     <p>Translations of thie document might be available.
81     The English version of the document is the only
82     normative version.</p>
83     </div>
84    
85     <div id="introduction" class="section">
86     <h2>Introduction</h2>
87    
88 wakaba 1.7 <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>
89 wakaba 1.5
90     <p>Selectors
91     <cite class="bibref normative">[<a href="#ref-SELECTORS">SELECTORS</a>]</cite>
92     are patterns that match against elements
93     in a tree structure and are used in Web technologies, including
94     <a href="http://www.w3.org/TR/CSS21"><abbr title="Cascading Style Sheets">CSS</abbr></a>
95     <cite class="bibref informative">[<a href="#ref-CSS">CSS</a>]</cite>,
96     <a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>
97     <cite class="bibref informative">[<a href="#ref-HTML5">HTML5</a>]</cite>,
98     <a href="http://www.mozilla.org/projects/xbl/xbl2.html"><abbr title="XML Binding Language">XBL</abbr>2</a>
99     <cite class="bibref informative">[<a href="#ref-XBL2">XBL2</a>]</cite>, and
100     <a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?rev=1.28&amp;content-type=text/html;%20charset=utf-8">Selectors
101     <abbr>API</abbr></a>
102     <cite class="bibref informative">[<a href="#ref-SAPI">SAPI</a>]</cite>.</p>
103 wakaba 1.4
104 wakaba 1.18 <p>It is so flexible language that a conceptually same pattern
105     can be represented in inifnite numbers of instances of selectors.
106     It might be convinient for e.g. validation of a test result to
107     define a subset of the language, in which no semantically equivalent
108     selectors are contained.</p>
109 wakaba 1.1
110 wakaba 1.4 <p><a href="http://dev.w3.org/cvsweb/csswg/cssom/Overview.html">The
111     <abbr title="Cascading Style Sheets Object Model">CSSOM</abbr>
112     specification</a>
113 wakaba 1.5 <cite class="bibref informative">[<a href="#ref-CSSOM">CSSOM</a>]</cite>
114 wakaba 1.4 is trying to define an algorithm to
115     <a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?rev=1.55&amp;content-type=text/html;%20charset=utf-8#serializing0">serialize
116     a group of selectors</a> for the purpose of <code>selectorText</code>
117     attribute. However, the algorithm is incomplete
118 wakaba 1.5 <time datetime=2007-09-25>at the time of the writing</time>.
119     Note that current Web browser implementations
120 wakaba 1.4 of the <code>selectorText</code> attribute are consistently broken
121 wakaba 1.18 in not escaping unsafe identifiers and therefore it is not wise
122     to deploy that format for testing.</p>
123 wakaba 1.4
124 wakaba 1.1 </div>
125    
126     <div class="section" id="terminology">
127     <h2>Terminology</h2>
128    
129 wakaba 1.10 <p>The key words <q><dfn id=must><em class="rfc2119">MUST</em></dfn></q>,
130     <q><dfn id=must-not><em class="rfc2119">MUST NOT</em></dfn></q>,
131 wakaba 1.21 <q><dfn id=should><em class="rfc2119">SHOULD</em></dfn></q>, and
132 wakaba 1.10 <q><dfn id=may><em class=rfc2119>MAY</em></dfn></q> in this
133 wakaba 1.1 document are to be interpreted as described in
134 wakaba 1.5 <a href="urn:ietf:rfc:2119"><abbr title="Request for Comments">RFC</abbr>
135     2119</a>
136 wakaba 1.1 <cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p>
137 wakaba 1.5
138 wakaba 1.15 <p>Requirements phrased in the imperative as part of algorithms are to be
139     interpreted with the meaning of the key word (<em class=rfc2119>MUST</em>)
140     used in introducing the algorithm.</p>
141    
142     <p>Conformance requirements phrased as algorithms or specific steps
143     <em class=rfc2119>MAY</em> be implemented in any manner, so long as the end
144     result is equivalent.</p>
145    
146 wakaba 1.5 <!-- Strictly speaking the paragraph below is not part of terminology. -->
147 wakaba 1.7 <p>All examples and notes in this specification are non$B!>(Bnormative,
148     as are all sections explicitly marked non$B!>(Bnormative. Everything
149 wakaba 1.5 else in this specification is normative.</p>
150 wakaba 1.7
151     <p>For the purpose of this specification, pseudo$B!>(Belements are also
152     referred to as <dfn title="simple selector" id=simple-selector>simple
153     selectors</dfn> and are considered as part of the last sequence of
154     simple selector in a selector.</p>
155 wakaba 1.1 </div>
156    
157     <div class="section" id="serializing">
158 wakaba 1.17 <h2>Serializing Selectors in
159 wakaba 1.12 <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
160     Representation</h2>
161 wakaba 1.1
162 wakaba 1.16 <p>Subsections of this section define algorithms
163     to <a href="#algorithm-serialize-a-simple-selector">serialize a simple
164     selector</a> or <a href="#algorithm-serialize-a-group-of-selectors">serialize
165     a group of selectors</a>.</p>
166    
167 wakaba 1.15 <div class="note memo">
168     <p>The serialized representation will not contain any comment.</p>
169     </div>
170 wakaba 1.19
171     <div class="ed issue"><p>TODO: link terms to Selectors</p></div>
172 wakaba 1.15
173 wakaba 1.14 <div class=section id=serializing-tokens>
174     <h3>Serializing Tokens</h3>
175    
176 wakaba 1.18 <p>To <dfn id=algorithm-normalize-an-ident title="normalize a string as an IDENT">normalize
177     a string (<dfn id=var-n><var>n</var></dfn>) as an <code>IDENT</code></dfn>,
178 wakaba 1.15 the following algorithm <em class=rfc2119>MUST</em> be used:</p>
179 wakaba 1.14 <ol>
180 wakaba 1.18 <li>If <var>n</var> is either an <code>IDENT</code> or a <code>HASH</code>,
181     replace the escape sequences (<code>\</code> and following characters) in
182     <var>n</var> by characters represented by them respectively.</li>
183     <li>If <var>n</var> is a <code>HASH</code>, remove the leading
184     <code class=char>U+0023</code> <code class=charname>NUMBER SIGN</code>
185     (<code class=char>#</code>) character from <var>n</var>.</li>
186 wakaba 1.14 <li>If there is any character that is <em>not</em> one of
187     <code class=char>U+002D</code> <code class=charname>HYPHEN-MINUS</code>
188     (<code class=char>-</code>), <code class=char>U+0030</code>
189     <code class=charname>DIGIT ZERO</code>
190     (<code class=char>0</code>) to <code class=char>U+0039</code>
191     <code class=charname>DIGIT NINE</code> (<code class=char>9</code>),
192     <code class=char>U+0041</code> <code class=charname>LATIN CAPITAL LETTER
193     A</code> (<code class=char>A</code>) to <code class=char>U+005A</code>
194     <code class=charname>LATIN CAPITAL LETTER Z</code> (<code class=char>Z</code>),
195     <code class=char>U+005F</code> <code class=charname>LOW LINE</code>
196     (<code class=char>_</code>), <code class=char>U+0061</code>
197     <code class=charname>LATIN SMALL LETTER A</code>
198     (<code class=char>a</code>) to <code class=char>U+006A</code>
199     <code class=charname>LATIN SMALL LETTER Z</code> (<code class=char>z</code>),
200     <code class=char>U+0080</code> to <code class=char>U+D7FF</code>, or
201     <code class=char>U+E000</code> to <code class=char>U+10FFFF</code> in
202     <var>n</var>, then replace it by string <code>\<var>HHHHHH</var></code>, where
203 wakaba 1.23 <dfn id=var-ident-HHHHHH><var>HHHHHH</var></dfn> is the uppercase
204 wakaba 1.21 zero$B!>(Bpadded hexadecimal representation of the character. If the character
205 wakaba 1.14 is outside the range of <code>[<code class=char>U+0000</code>,
206     <code class=char>U+10FFFF</code>]</code>, <var>HHHHHH</var>
207     <em class=rfc2119>MUST</em> be <code>FFFFFF</code>.</li>
208     <li>If the first character in <var>n</var> is one of
209     <code class=char>U+0030</code> <code class=charname>DIGIT ZERO</code>
210     (<code class=char>0</code>) to <code class=char>U+0039</code>
211     <code class=charname>DIGIT NINE</code> (<code class=char>9</code>),
212     then prepend a string <code>\00003</code> at the beginning of
213     <var>n</var>.</li>
214     <li>If the first character in <var>n</var> is <code class=char>U+002D</code>
215     <code class=charname>HYPHEN-MINUS</code> (<code class=char>-</code>) and
216     the second character, if any, is <em>not</em> one of
217     <code class=char>U+0041</code> <code class=charname>LATIN CAPITAL LETTER
218     A</code> (<code class=char>A</code>) to <code class=char>U+005A</code>
219     <code class=charname>LATIN CAPITAL LETTER Z</code> (<code class=char>Z</code>),
220     <code class=char>U+005F</code> <code class=charname>LOW LINE</code>
221     (<code class=char>_</code>), <code class=char>U+0061</code>
222     <code class=charname>LATIN SMALL LETTER A</code>
223     (<code class=char>a</code>) to <code class=char>U+006A</code>
224     <code class=charname>LATIN SMALL LETTER Z</code> (<code class=char>z</code>),
225     <code>U+0080</code> to <code>U+D7FF</code>, or
226     <code>U+E000</code> to <code>U+10FFFF</code>, or
227     <var>n</var> is equal to <code class=char>U+002D</code>
228     <code class=charname>HYPHEN-MINUS</code> (<code class=char>-</code>), then
229     replace the <code class=char>U+002D</code>
230     <code class=charname>HYPHEN-MINUS</code> (<code class=char>-</code>)
231     character by string <code>\00002D</code>.</li>
232     <li>Then, <var>n</var> is the result of the algorithm.</li>
233     </ol>
234 wakaba 1.12
235 wakaba 1.18 <p>To <dfn id=algorithm-normalize-a-string title="normalize a string (STRING or IDENT) as a STRING">normalize
236     a string (<dfn id=var-s><var>s</var></dfn>) as a <code>STRING</code></dfn>,
237 wakaba 1.15 the following algorithm <em class=rfc2119>MUST</em> be used:</p>
238 wakaba 1.14 <ol>
239 wakaba 1.18 <li>If <var>s</var> is either an <code>IDENT</code> or a
240     <code>STRING</code>, replace the escape sequences (<code>\</code> and
241     following characters) in <var>s</var> by characters represented by them
242 wakaba 1.14 (or an empty string if <code>\</code> is immediately followed by
243 wakaba 1.18 newline character(s)) respectively.</li>
244     <li>If <var>s</var> is a <code>STRING</code>, remove the quotation marks
245     enclosing <var>s</var>.</li>
246 wakaba 1.14 <li><p>If there is any character that is <em>not</em> one of
247     <code class=char>U+0020</code> <code class=charname>SPACE</code>,
248     <code class=char>U+0021</code> <code class=charname>EXCLAMATION MARK</code>
249     (<code class=char>!</code>), <code class=char>U+0023</code>
250     <code class=charname>NUMBER SIGN</code> (<code class=char>#</code>) to
251     <code class=char>U+005B</code> <code class=charname>LEFT SQUARE
252     BRACKET</code>, <code class=char>U+005D</code> <code class=charname>RIGHT
253     SQUARE BRACKET</code> to <code class=char>U+D7FF</code>, or
254     <code class=char>U+E000</code> to <code class=char>U+10FFFF</code> in
255     <var>s</var>, then replace it by string <code>\<var>HHHHHH</var></code>, where
256 wakaba 1.23 <dfn id=var-string-HHHHHH><var>HHHHHH</var></dfn> is the uppercase
257 wakaba 1.21 zero$B!>(Bpadded hexadecimal representation of the character. If the character
258 wakaba 1.14 is outside the range of <code>[<code class=char>U+0000</code>,
259     <code class=char>U+10FFFF</code>]</code>, <var>HHHHHH</var>
260     <em class=rfc2119>MUST</em> be <code>FFFFFF</code>.</p></li>
261     <li><p>Insert a <code class=char>U+0022</code> <code class=charname>QUOTATION
262     MARK</code> (<code class=char>"</code>) at the beginning of
263     <var>s</var>.</p></li>
264     <li><p>Insert a <code class=char>U+0022</code> <code class=charname>QUOTATION
265     MARK</code> (<code class=char>"</code>) at the end of <var>s</var>.</p></li>
266     <li><p>Then, <var>s</var> is the result of the algorithm.</p></li>
267     </ol>
268 wakaba 1.3
269 wakaba 1.14 <p>A <dfn id=newline title=newline>newline</dfn>
270     <em class=rfc2119>SHOULD</em> be represented as a
271     <code class=char>U+000A</code> <code class=charname>LINE FEED</code>
272     character. However, depending on the context where
273     the <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
274     representation is in use, a sequence of
275     <code class=char>U+000D</code> <code class=charname>CARRIAGE RETURN</code>
276     followed by a <code class=char>U+000A</code>
277     <code class=charname>LINE FEED</code> (i.e. a
278     <code>CRLF</code> sequence) or a character
279     <code class=char>U+000D</code> <code class=charname>CARRIAGE RETURN</code>
280     <em class=rfc2119>MAY</em> be used as a <a href="#newline">newline</a> instead.
281     <a href="#newline">Newline</a> representations
282     <em class=rfc2119>SHOULD</em> be consistent in an
283     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
284     representation.</p>
285 wakaba 1.4
286 wakaba 1.14 <div class="note memo">
287     <p>Therefore, newlines must be normalized before
288 wakaba 1.8 <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
289 wakaba 1.14 representations are literally compared.</p>
290     </div>
291 wakaba 1.6
292 wakaba 1.17 <div class="issue ed">
293 wakaba 1.24 <p>In a future version of the specification, we need to define
294     <dfn id=lowercase>lowercase</dfn> (maybe by referencing some version of
295     some module of <abbr>CSS</abbr>). It is <code>tr/A-Z/a-z/</code> for now.</p>
296 wakaba 1.17 </div>
297    
298 wakaba 1.19 <p>To
299     <dfn id=algorithm-normalize-an-integer title="normalize an integer">normalize
300     an integer (<dfn id=var-int-i><var>i</var></dfn>)</dfn>, the following
301 wakaba 1.22 algorithm <em class=rfc2119>MUST</em> be used:</p>
302 wakaba 1.19 <ol class=algorithm>
303     <li>If <var>i</var> is equal to zero (0), return a string with only a
304     character: <code class=char>U+0030</code>
305     <code class=charname>DIGIT ZERO</code> (<code class=char>0</code>).
306     Stop the algorithm.</li>
307     <li>Let <dfn id=var-int-result><var>result</var></dfn> be an empty string.</li>
308     <li>If <var>i</var> is less than zero (0), append a
309     <code class=char>U+002D</code> <code class=charname>HYPHEN-MINUS</code>
310     (<code class=char>-</code>) character to <var>result</var>.</li>
311     <li>Append the decimal representation of the absolute value of
312     <var>i</var> to <var>result</var>. The decimal (base$B!>(Bten) representation
313     <em class=rfc2119>MUST NOT</em> begin with a <code class=char>U+0030</code>
314     <code class=charname>DIGIT ZERO</code> (<code class=char>0</code>)
315     character.</li>
316     <li>Return <var>result</var>.</li>
317     </ol>
318    
319 wakaba 1.12 </div>
320    
321 wakaba 1.14
322 wakaba 1.12 <div class=section id=serializing-simple-selectors>
323     <h3>Serializing Simple Selectors</h3>
324    
325 wakaba 1.15 <p>No <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
326 wakaba 1.16 representation is defined for an invalid <a href="#simple-selector">simple
327     selector</a>.</p>
328 wakaba 1.15
329 wakaba 1.7 <p>To
330     <dfn id=algorithm-serialize-a-simple-selector title="serialize a simple selector">serialize
331 wakaba 1.15 a simple selector (<dfn><var id=var-ss>ss</var></dfn>)</dfn>,
332     the following algorithm <em class=rfc2119>MUST</em> be used:</p>
333 wakaba 1.16 <ol>
334     <li>Let <dfn id=var-r><var>r</var></dfn> an empty string.</li>
335     <li>Process <var>ss</var> as following:
336    
337 wakaba 1.6 <dl class=switch>
338     <dt>If <var>ss</var> is a type or universal selector</dt>
339 wakaba 1.7 <dd>
340     <ol>
341 wakaba 1.17 <li>Append a namespace prefix as following:
342    
343 wakaba 1.7 <dl class=switch>
344     <dt>If a namespace URI is specified (via namespace prefix, or
345     by omitting namespace prefix where a default namespace is specified)</dt>
346 wakaba 1.18 <dd>Append the namespace URI as a
347     <a href="#algorithm-normalize-an-ident" title="normalize a string as an IDENT">normalized
348     <code>IDENT</code></a> to <var>r</var>. Then, append a
349     <code class=char>U+007C</code>
350     <code class=charname>VERTICAL BAR</code> (<code class=char>|</code>)
351     character to <var>r</var>.</dd>
352 wakaba 1.7 <dt>If the null namespace is specified (by zero$B!>(Blength namespace
353     prefix)</dt>
354     <dd>Append a <code class=char>U+007C</code>
355     <code class=charname>VERTICAL BAR</code> (<code class=char>|</code>)
356 wakaba 1.16 character to <var>r</var>.</dd>
357 wakaba 1.7 <dt>If no namespace is specified (by namespace prefix <code>*</code>,
358     or by omitting namespace prefix where no default namespace is
359     specified)</dt>
360     <dd>Append a <code class=char>U+002A</code>
361     <code class=charname>ASTERISK</code> (<code class=char>*</code>)
362     character, followed by a <code class=char>U+007C</code>
363     <code class=charname>VERTICAL BAR</code> (<code class=char>|</code>)
364 wakaba 1.16 character, to <var>r</var>.</dd>
365 wakaba 1.7 </dl>
366     </li>
367     <li>If <var>ss</var> is a type selector, append the
368 wakaba 1.18 <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) an IDENT">normalized</a>
369 wakaba 1.16 local name to <var>r</var>.</li>
370 wakaba 1.7 <li>If <var>ss</var> is a universal selector, append
371     a <code class=char>U+002A</code> <code class=charname>ASTERISK</code>
372 wakaba 1.16 (<code class=char>*</code>) character to <var>r</var>.</li>
373 wakaba 1.7 </ol>
374     </dd>
375     <dt>If <var>ss</var> is an attribute selector</dt>
376 wakaba 1.9 <dd>
377     <ol>
378     <li>Append a <code class=char>U+005B</code> <code class=charname>LEFT
379     SQUARE BRACKET</code> (<code class=char>[</code>) to
380 wakaba 1.16 <var>r</var>.</li>
381 wakaba 1.9 <li>
382     Append a namespace prefix as following:
383     <dl>
384     <dt>If a namespace URI is specified</dt>
385 wakaba 1.18 <dd>Append the namespace URI as a
386     <a href="#algorithm-normalize-an-ident" title="normalize a string as an IDENT">normalized
387     <code>IDENT</code></a> to <var>r</var>. Then, append a
388     <code class=char>U+007C</code>
389     <code class=charname>VERTICAL BAR</code> (<code class=char>|</code>)
390     character to <var>r</var>.</dd>
391 wakaba 1.9 <dt>If the null namespace is specified</dt>
392     <dd>Append a <code class=char>U+007C</code>
393     <code class=charname>VERTICAL BAR</code> character to
394 wakaba 1.16 <var>r</var>.</dd>
395 wakaba 1.9 <dt>If no namespace is specified</dt>
396     <dd>Append a <code class=char>U+002A</code>
397     <code class=charname>ASTERISK</code> (<code class=char>*</code>)
398     character, followed by a <code class=char>U+007C</code>
399     <code class=charname>VERTICAL BAR</code> (<code class=char>|</code>)
400 wakaba 1.16 character, to <var>r</var>.</dd>
401 wakaba 1.9 </dl>
402     </li>
403 wakaba 1.11 <li>Append the
404 wakaba 1.18 <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) as an IDENT">normalized</a>
405 wakaba 1.16 local name to <var>r</var>.</li>
406 wakaba 1.9 <li>If a value is specified in <var>ss</var>:
407     <ol>
408     <li>Depending on the way to match, append <code>=</code>,
409     <code>~=</code>, <code>|=</code>, <code>^=</code>,
410 wakaba 1.16 <code>$=</code>, or <code>*=</code> to <var>r</var>.</li>
411 wakaba 1.11 <li>Append the
412     <a href="#algorithm-normalize-a-string" title="normalize a string">normalized</a>
413 wakaba 1.16 value to <var>r</var>.</li>
414 wakaba 1.9 </ol>
415     </li>
416     <li>Append a <code class=char>U+005D</code> <code class=charname>RIGHT
417     SQUARE BRACKET</code> (<code class=char>]</code>) to
418 wakaba 1.16 <var>r</var>.</li>
419 wakaba 1.9 </ol>
420     </dd>
421 wakaba 1.7 <dt>If <var>ss</var> is a class selector</dt>
422     <dd>Append a <code class=char>U+002E</code> <code class=charname>FULL
423     STOP</code> (<code class=char>.</code>) character, followed
424 wakaba 1.18 by <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) as an IDENT">normalized</a>
425 wakaba 1.16 class name, to <var>r</var>.</dd>
426 wakaba 1.7 <dt>If <var>ss</var> is an <abbr>ID</abbr> selector</dt>
427     <dd>Append a <code class=char>U+0023</code> <code class=charname>NUMBER
428     SIGN</code> (<code class=char>#</code>) character, followed
429 wakaba 1.18 by <a href="#algorithm-normalize-an-ident" title="normalize a string (HASH except for the leading #) as an IDENT">normalized</a>
430 wakaba 1.16 <abbr>ID</abbr>, to <var>r</var>.</dd>
431 wakaba 1.7 <dt>If <var>ss</var> is a pseudo$B!>(Bclass selector</dt>
432     <dd>
433     <ol>
434     <li>Append a <code class=char>U+003A</code>
435     <code class=charname>COLON</code> (<code class=char>:</code>) character
436 wakaba 1.16 to <var>r</var>.</li>
437 wakaba 1.11 <li>Append the
438 wakaba 1.18 <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) as an IDENT">normalized</a>
439 wakaba 1.23 name (in <a href="#lowercase">lowercase</a>) of the pseudo$B!>(Bclass to
440 wakaba 1.17 <var>r</var>.</li>
441 wakaba 1.7 <li>Append any arguments as following:
442     <dl class=switch>
443 wakaba 1.8 <dt>If the name of the pseudo$B!>(Bclass is <code>lang</code></dt>
444 wakaba 1.7 <dd>
445     <ol>
446     <li>Append a <code class=char>U+0028</code> <code class=charname>LEFT
447     PARENTHESIS</code> (<code class=char>(</code>) character
448 wakaba 1.16 to <var>r</var>.</li>
449 wakaba 1.11 <li>Append the
450 wakaba 1.18 <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) as an IDENT">normalized</a>
451 wakaba 1.17 language tag (the argument) to <var>r</var>.
452     <span class="issue ed">Should we normalize cases?</span></li>
453 wakaba 1.7 <li>Append a <code class=char>U+0029</code>
454     <code class=charname>RIGHT PARENTHESIS</code>
455     (<code class=char>)</code>) character
456 wakaba 1.16 to <var>r</var>.</li>
457 wakaba 1.7 </ol>
458     </dd>
459 wakaba 1.8 <dt>If the name of the pseudo$B!>(Bclass is
460     <code>-manakai-contains</code></dt>
461 wakaba 1.7 <dd>
462     <ol>
463     <li>Append a <code class=char>U+0028</code> <code class=charname>LEFT
464     PARENTHESIS</code> (<code class=char>(</code>) character
465 wakaba 1.16 to <var>r</var>.</li>
466 wakaba 1.11 <li>Append the
467     <a href="#algorithm-normalize-a-string" title="normalize a string">normalized</a>
468 wakaba 1.16 string (the argument) to <var>r</var>.</li>
469 wakaba 1.7 <li>Append a <code class=char>U+0029</code>
470     <code class=charname>RIGHT PARENTHESIS</code>
471     (<code class=char>)</code>) character
472 wakaba 1.16 to <var>r</var>.</li>
473 wakaba 1.7 </ol>
474     </dd>
475 wakaba 1.8 <dt>If name of the pseudo$B!>(Bclass is either <code>nth-child</code>,
476 wakaba 1.7 <code>nth-last-child</code>, <code>nth-of-type</code>, or
477     <code>nth-last-of-type</code></dt>
478     <dd>
479     <ol>
480     <li>Append a <code class=char>U+0028</code> <code class=charname>LEFT
481     PARENTHESIS</code> (<code class=char>(</code>) character
482 wakaba 1.16 to <var>r</var>.</li>
483 wakaba 1.19 <li>Let <dfn id=var-a><var>a</var></dfn> be the <var>a</var>
484     part of the argument. If the argument is a keyword <code>odd</code>
485     or <code>even</code>, then let <var>a</var> be <code>2</code>.
486     If the <var>a</var> part with following <code>n</code> character
487     is omitted, then let <var>a</var> be <code>0</code>.
488     Otherwise, if only the <var>a</var> part is omitted, then
489     let <var>a</var> be <code>1</code>. Otherwise, if the <var>a</var>
490     part is <code>-</code>, then let <var>a</var> be
491     <code>-1</code>.</li>
492     <li>Let <var>a</var> be the
493     <a href="#algorithm-normalize-an-integer" title="normalize an integer">normalized
494     string representation</a> of integer <var>a</var>.</li>
495 wakaba 1.24 <li>Append <var>a</var> to <var>r</var>.</li>
496 wakaba 1.7 <li>Append a <code class=char>U+006E</code>
497     <code class=charname>LATIN SMALL LETTER N</code>
498 wakaba 1.16 (<code class=char>n</code>) character to <var>r</var>.</li>
499 wakaba 1.19 <li>Let <dfn id=var-b><var>b</var></dfn> be the <var>b</var>
500     part of the argument. If the argument is a keyword <code>odd</code>,
501     then let <var>b</var> be <code>1</code>. If the argument is a
502     keyword <code>even</code>, then let <var>b</var> be <code>0</code>.
503     If the <var>b</var> part is omitted, then let <var>b</var> be
504     <code>0</code>.</li>
505     <li>Let <var>b</var> be the
506     <a href="#algorithm-normalize-an-integer" title="normalize an integer">normalized
507     string representation</a> of integer <var>b</var>.</li>
508     <li>If <var>b</var> does <em>not</em> start with a
509     <code class=char>U+002D</code>
510 wakaba 1.7 <code class=charname>HYPHEN-MINUS</code> (<code class=char>-</code>)
511 wakaba 1.19 character, then append <code class=char>U+002B</code>
512     <code class=charname>PLUS SIGN</code>
513 wakaba 1.24 (<code class=char>+</code>) to <var>r</var>.</li>
514     <li>Append <var>b</var> to <var>r</var>.</li>
515 wakaba 1.7 <li>Append a <code class=char>U+0029</code>
516     <code class=charname>RIGHT PARENTHESIS</code>
517     (<code class=char>)</code>) character
518 wakaba 1.16 to <var>r</var>.</li>
519 wakaba 1.7 </ol>
520     </dd>
521 wakaba 1.8 <dt>If the name of the pseudo$B!>(Bclass is <code>not</code></dt>
522     <dd>
523     <ol>
524     <li>Append a string of <code class=char>U+003A</code>
525     <code class=charname>COLON</code>, <code class=char>U+006E</code>
526     <code class=charname>LATIN SMALL LETTER N</code>,
527     <code class=char>U+006F</code> <code class=charname>LATIN
528     SMALL LETTER O</code>, <code class=char>U+0074</code>
529     <code class=charname>LATIN SMALL LETTER T</code>, and
530     <code class=char>U+0028</code> <code class=charname>LEFT
531     PARENTHESIS</code> (<code>:not(</code>), followed by a
532 wakaba 1.16 <a href="#newline">newline</a>, to <var>r</var>.</li>
533 wakaba 1.8 <li>Append four <code class=char>U+0020</code>
534     <code class=charname>SPACE</code> characters to
535 wakaba 1.16 <var>r</var>.</li>
536 wakaba 1.8 <li>Append four <code class=char>U+0020</code>
537     <code class=charname>SPACE</code> characters to
538 wakaba 1.16 <var>r</var> again.</li>
539 wakaba 1.8 <li><a href="#algorithm-serialize-a-simple-selector">Serialize
540     the simple selector specified as the argument to the
541     <code>not</code> pseudo$B!>(Bclass</a>.</li>
542     <li>Append a <a href="#newline">newline</a> to
543 wakaba 1.16 <var>r</var>.</li>
544 wakaba 1.8 <li>Append four <code class=char>U+0020</code>
545     <code class=charname>SPACE</code> characters to
546 wakaba 1.16 <var>r</var>.</li>
547 wakaba 1.8 <li>Append a <code class=char>U+0029</code>
548     <code class=charname>RIGHT PARENTHESIS</code>
549     (<code class=char>)</code>) character
550 wakaba 1.16 to <var>r</var>.</li>
551 wakaba 1.8 </ol>
552     </dd>
553 wakaba 1.16 <dt>Otherwise</dt>
554     <dd>The pseudo$B!>(Bclass is not supported by this version of
555     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
556     and therefore no
557     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
558     representation is defined for <var>ss</var>. Stop the algorithm.</dd>
559 wakaba 1.7 </dl>
560     </li>
561     </ol>
562     </dd>
563     <dt>If <var>ss</var> is a pseudo$B!>(Belement</dt>
564     <dd>
565     <ol>
566     <li>Append two <code class=char>U+003A</code>
567     <code class=charname>COLON</code> characters (<code>::</code>)
568 wakaba 1.16 to <var>r</var>.</li>
569 wakaba 1.11 <li>Append the
570 wakaba 1.18 <a href="#algorithm-normalize-an-ident" title="normalize a string (IDENT) as an IDENT">normalized</a>
571 wakaba 1.23 name (in <a href="#lowercase">lowercase</a>) of the pseudo$B!>(Belement
572 wakaba 1.17 to <var>r</var>.</li>
573 wakaba 1.16 <li>If the pseudo$B!>(Belement has any arguments:
574     The pseudo$B!>(Belement is not supported by this version of
575     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
576     and therefore no
577     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
578     representation is defined for <var>ss</var>. Stop the algorithm.
579     </li>
580 wakaba 1.7 </ol>
581     </dd>
582 wakaba 1.6 </dl>
583 wakaba 1.16 </li>
584     <li>Then, <var>r</var> is the
585     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
586     representation of <var>ss</var>.</li>
587     </ol>
588 wakaba 1.1
589 wakaba 1.12 </div>
590    
591 wakaba 1.14 <div class=section id=serializing-groups-of-selectors>
592     <h3>Serializing Groups of Selectors</h3>
593 wakaba 1.12
594 wakaba 1.14 <p>No <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
595 wakaba 1.17 representation is defined for an invalid
596     <a href="http://www.w3.org/TR/css3-selectors/#grouping">group of
597     selectors</a>.</p>
598 wakaba 1.13
599 wakaba 1.14 <p>To
600     <dfn id=algorithm-serialize-a-group-of-selectors title="serialize a group of selectors">serialize
601 wakaba 1.15 a group of selectors (<dfn id=var-gs><var>gs</var></dfn>)</dfn>,
602     the following algorithm <em class=rfc2119>MUST</em> be used:</p>
603 wakaba 1.14 <ol>
604     <li>Let <dfn id=var-result><var>result</var></dfn> an empty string.</li>
605     <li>For each selector (<dfn id=var-selector><var>selector</var></dfn>) in
606     <var>gs</var>:
607     <ol>
608     <li>If <var>selector</var> is <em>not</em> the first selector
609 wakaba 1.17 in the <var>gs</var>, then append a <code class=char>U+002C</code>
610 wakaba 1.14 <code class=charname>COMMA</code> (<code class=char>,</code>) followed by a
611     <a href="#newline">newline</a> to <var>result</var>.</li>
612     <li>Append four <code class=char>U+0020</code>
613     <code class=charname>SPACE</code> characters to <var>result</var>.</li>
614     <li>Process each sequence of simple selectors or
615 wakaba 1.16 combinator in <var>selector</var> as following:
616 wakaba 1.14 <dl class=switch>
617     <dt>If it is a sequence of simle selector
618     (<dfn id=var-sss><var>sss</var></dfn>)</dt>
619     <dd>
620     <ol>
621 wakaba 1.19 <li>If <var>sss</var> contains a universal or type selector, then
622     <a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">serialize
623     that simple selector</a> and append the result to
624     <var>result</var>.</li>
625     <li>Otherwise, i.e. if <var>sss</var> does not contain a universal or
626     type selector, then
627     <a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">serialize
628     a simple selector <code>*</code></a> and append the result to
629     <var>result</var>.</li>
630     <li><a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">Serialize
631     any attribute selectors</a> in <var>sss</var>, sort the results,
632     then append them to <var>result</var> in order.</li>
633     <li><a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">Serialize
634     any class selectors</a> in <var>sss</var>, sort the results,
635     then append them to <var>result</var> in order.</li>
636     <li><a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">Serialize
637     any <abbr>ID</abbr> selectors</a> in <var>sss</var>, sort the results,
638     then append them to <var>result</var> in order.</li>
639     <li><a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">Serialize
640     any pseudo$B!>(Bclass selectors</a> in <var>sss</var>, sort the results,
641     then append them to <var>result</var> in order.</li>
642     <li><a href="#algorithm-serialize-a-simple-selector" title="serialize a simple selector">Serialize
643     any pseudo elements</a> in <var>sss</var>, sort the results,
644     then append them to <var>result</var> in order.</li>
645 wakaba 1.14 <li>Append a <a href="#newline">newline</a> to <var>result</var>.</li>
646     </ol>
647     </dd>
648     <dt>If it is a combinator (<dfn id=var-c><var>c</var></dfn>)</dt>
649     <dd>
650     <ol>
651     <li>Append two <code class=char>U+0020</code>
652     <code class=charname>SPACE</code> characters to <var>result</var>.</li>
653 wakaba 1.16 <li>Process <var>c</var> as following:
654    
655 wakaba 1.14 <dl class=switch>
656     <dt>If <var>c</var> is descendant combinator (white space)</dt>
657     <dd>Append a <code class=char>U+0020</code>
658     <code class=charname>SPACE</code> character to
659     <var>result</var>.</dd>
660     <dt>If <var>c</var> is child combinator
661     (<code class=char>></code>)</dt>
662     <dd>Append a <code class=char>U+003E</code>
663     <code class=charname>GREATER-THAN SIGN</code>
664     (<code class=char>></code>) character to <var>result</var>.</dd>
665     <dt>If <var>c</var> is adjacent sibling combinator
666     (<code class=char>+</code>)</dt>
667     <dd>Append a <code class=char>U+002B</code>
668     <code class=charname>PLUS SIGN</code> (<code class=char>+</code>)
669     character to <var>result</var>.</dd>
670     <dt>If <var>c</var> is general sibling combinator
671     (<code class=char>~</code>)</dt>
672     <dd>Append a <code class=char>U+007E</code>
673     <code class=charname>TILDE</code> (<code class=char>~</code>)
674     character to <var>result</var>.</dd>
675     </dl>
676     </li>
677     <li>Append a <code class=char>U+0020</code>
678     <code class=charname>SPACE</code> character to
679     <var>result</var>.</li>
680     </ol>
681     </dd>
682     </dl>
683     </ol>
684     </li>
685     <li>Then, <var>result</var> is the
686 wakaba 1.8 <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
687 wakaba 1.14 representation of <var>gs</var>.</li>
688     </ol>
689 wakaba 1.12
690 wakaba 1.8 </div>
691    
692 wakaba 1.1 </div>
693    
694     <div class="section" id="parsing">
695     <h2>Parsing
696 wakaba 1.8 <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
697 wakaba 1.17 Representations of Selectors</h2>
698 wakaba 1.1
699 wakaba 1.17 <p>Since <a href="#algorithm-serialize-a-group-of-selectors">the serializing
700     algorithm for groups of selectors</a> is so designed that it always outputs a
701     valid <a href="http://www.w3.org/TR/css3-selectors/#grouping">group of
702 wakaba 1.8 selectors</a>, no special parser for the
703     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
704     representation is necessary. Any conforming parser for
705     <a href="http://www.w3.org/TR/css3-selectors/#grouping">groups of
706     selectors</a> <em class=rfc2119>MAY</em> be used
707     to parse <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
708 wakaba 1.17 representations of
709     <a href="http://www.w3.org/TR/css3-selectors/#grouping">groups of
710     selectors</a>.</p>
711    
712     <p>Likewise, <a href="#algorithm-serialize-a-simple-selector">the serializing
713     algorithm for simple selectors</a> always outputs a valid
714     <a href="#simple-selector">simple selector</a> and therefore any
715     conforming parser for <a href="#simple-selector">simple selector</a>
716     <em class=rfc2119>MAY</em> be used to parse
717     <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
718     representations of <a href="#simple-selector">simple selectors</a>.</p>
719 wakaba 1.1 </div>
720    
721     <div class="section" id="examples">
722     <h2>Examples</h2>
723    
724 wakaba 1.7 <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>
725 wakaba 1.1
726 wakaba 1.22 <div class="example figure block">
727     <p>The <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
728     representation of a selector <code>p + q</code> is:</p>
729    
730     <pre><code> *|p
731     + *|q
732     </code></pre>
733     </div>
734 wakaba 1.1
735     <div class="example figure block">
736 wakaba 1.22 <p>The <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
737     representation of a selector <code>a#id.class1:n\ot(:Active)/*
738     comment
739     */.class2</code> is:</p>
740    
741     <pre><code> *|a.class1.class2#id:not(
742     :active
743     )
744     </code></pre>
745 wakaba 1.1 </div>
746    
747 wakaba 1.22 <div class="example figure block">
748     <p>The <abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
749     representation of a
750     <a href="http://www.w3.org/TR/css3-selectors/#grouping">group of selectors</a>
751     <code>a, #b, C[d^=e], .\31 23</code> is:</p>
752    
753     <pre><code> *|a
754     ,
755     *|*#b
756     ,
757     *|C[|d^="e"]
758     ,
759     *|*.\00003123
760     </code></pre>
761 wakaba 1.1 </div>
762    
763     </div>
764    
765     <div id="references" class="section reference">
766 wakaba 1.7 <h2>References</h2>
767 wakaba 1.1
768     <div id="normative-references" class="section normative reference">
769     <h3>Normative References</h3>
770    
771     <dl>
772     <dt id="ref-KEYWORDS">KEYWORDS</dt>
773 wakaba 1.4 <dd><cite><a href="urn:ietf:rfc:2119">Key words for use in
774     <abbr>RFCs</abbr> to Indicate Requirement Levels</a></cite>,
775     <abbr title="Internet Engineering Task Force">IETF</abbr>
776     <a href="urn:ietf:bcp:14"><abbr title="Best Current Practice">BCP</abbr>
777 wakaba 1.5 14</a>, <abbr title="Request for Comments">RFC</abbr> 2119,
778     <time datetime=1997-03>March 1997</time>.
779 wakaba 1.17 This version of the specification is referenced.</dd>
780 wakaba 1.1 <dt id=ref-SELECTORS>SELECTORS</dt>
781 wakaba 1.2 <dd><a href="http://www.w3.org/TR/2005/WD-css3-selectors-20051215"><cite>Selectors</cite></a>,
782     <abbr title="World Wide Web Consortium">W3C</abbr> Working Draft,
783 wakaba 1.5 <time datetime=2005-12-15>15 December 2005</time>. Work in progress.
784 wakaba 1.2 <a href="http://www.w3.org/TR/css3-selectors">The latest version</a>
785     of the specification is referenced.</dd>
786 wakaba 1.1 </dl>
787     </div>
788    
789     <div id="informative-references" class="section informative reference">
790 wakaba 1.7 <h3>Non$B!>(Bnormative References</h3>
791 wakaba 1.1
792     <dl>
793 wakaba 1.5 <dt id=ref-CSS>CSS</dt>
794     <dd><cite><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719">Cascading
795     Style Sheets Level 2 Revision 1 (<abbr>CSS</abbr> 2.1)
796     Specification</a></cite>,
797     <abbr title="World Wide Web Consortium">W3C</abbr> Candidate
798     Recommendation, <time datetime=2007-07-19>19 July 2007</time>.
799     Work in progress. The latest version of the specification is
800     available at
801     <code class=URI>&lt;<a href="http://www.w3.org/TR/CSS21">http://www.w3.org/TR/CSS21</a>></code>.</dd>
802 wakaba 1.4 <dt id=ref-CSSOM>CSSOM</dt>
803     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?rev=1.55&amp;content-type=text/html;%20charset=utf-8">Cascading
804     Style Sheets Object Model (<abbr>CSSOM</abbr>)</a></cite>,
805     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
806 wakaba 1.5 <time datetime=2007-06-18>18 June 2007</time>. Work in progress.
807     The latest Editor's Draft of the specification is available at
808     <code class=URI>&lt;<a href="http://dev.w3.org/csswg/cssom/Overview.html">http://dev.w3.org/csswg/cssom/Overview.html</a>></code>.</dd>
809     <dt id=ref-HTML5>HTML5</dt>
810     <dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>,
811     <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr>
812 wakaba 1.20 Working Draft, <time datetime="2007-11-03">3 November 2007</time>.
813     Work in progress.</dd>
814 wakaba 1.5 <dt id=ref-SAPI>SAPI</dt>
815     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?rev=1.28&amp;content-type=text/html;%20charset=utf-8">Selectors <abbr>API</abbr></a></cite>,
816     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
817     <time datetime=2007-08-29>29 August 2007</time>. Work in progress.
818     The latest Editor's Draft of the specification is available at
819     <code class=URI>&lt;<a href="http://dev.w3.org/2006/webapi/selectors-api/Overview.html">http://dev.w3.org/2006/webapi/selectors-api/Overview.html</a>></code>.
820     The latest published version of the specification is available at
821     <code class=URI>&lt;<a href="http://www.w3.org/TR/selectors-api/">http://www.w3.org/TR/selectors-api/</a>></code>.</dd>
822 wakaba 1.10 <dt id=ref-XBL2>XBL2</dt>
823 wakaba 1.5 <dd><cite><a href="http://www.mozilla.org/projects/xbl/xbl2.html"><abbr>XBL</abbr>
824     2.0</a></cite>, Mozilla.org, <time datetime=2007-03-15>15 Mar 2007</time>.
825     Work in progress. The latest
826     <abbr title="World Wide Web Consortium">W3C</abbr>$B!>(Bpublished
827     version of the specification is available at
828     <code class=URI>&lt;<a href="http://www.w3.org/TR/xbl/">http://www.w3.org/TR/xbl/</a>></code>.</dd>
829 wakaba 1.1 </dl>
830     </div>
831    
832     </div>
833    
834     </body>
835     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24