1 |
<!DOCTYPE html> |
2 |
<html lang="en" class="formal-specification status-work-in-progress"> |
3 |
<head> |
4 |
<title>Selectors Serialization Format for Testing (SSFT)</title> |
5 |
<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 |
<h1>Selectors Serialization Format for Testing (<abbr>SSFT</abbr>)</h1> |
12 |
<h2>Working Draft 22 September 2007</h2> |
13 |
|
14 |
<dl class="versions-uri"> |
15 |
<dt>This Version</dt> |
16 |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/selectors/ssft/ssft" |
17 |
>http://suika.fam.cx/www/markup/selectors/ssft/ssft</a>></code></dd> |
18 |
<dt>Latest Version</dt> |
19 |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/selectors/ssft/ssft" |
20 |
>http://suika.fam.cx/www/markup/selectors/ssft/ssft</a>></code></dd> |
21 |
<!-- |
22 |
<dt>Latest Working Draft</dt> |
23 |
--> |
24 |
<!-- <dt>Previous Version</dt> --> |
25 |
</dl> |
26 |
<dl class="authors" id="author"> |
27 |
<dt>Author</dt> |
28 |
<dd><a href="http://suika.fam.cx/~wakaba/who?" rel="author" |
29 |
lang=ja>Wakaba</a> |
30 |
<code class="mail"><<a href="mailto:w@suika.fam.cx" rel="author" |
31 |
>w@suika.fam.cx</a>></code></dd> |
32 |
</dl> |
33 |
|
34 |
<p class="copyright" lang="en">© 2007 <a |
35 |
href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>. |
36 |
Permission is granted to copy, distribute and/or modify this document |
37 |
under the terms of the <a rel="license" |
38 |
href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>, |
39 |
Version 1.2 |
40 |
or any later version published by the <a |
41 |
href="http://www.fsf.org/">Free Software Foundation</a>; |
42 |
with no Invariant Sections, no Front$B!>(BCover Texts, and no Back$B!>(BCover |
43 |
Texts. A copy of the license is |
44 |
available at <code class="URI"><<a |
45 |
href="http://www.gnu.org/copyleft/fdl.html" |
46 |
rel="license">http://www.gnu.org/copyleft/fdl.html</a>></code>.</p> |
47 |
</div> |
48 |
|
49 |
<div id="abstract" class="section"> |
50 |
<h2>Abstract</h2> |
51 |
|
52 |
<div class="ed issue">...</div> |
53 |
|
54 |
</div> |
55 |
|
56 |
<div id="status" class="section"> |
57 |
<h2>Status of This Document</h2> |
58 |
|
59 |
<p><em>This section describes the status of this document |
60 |
at the time of its publication. Other documents |
61 |
might supersede this document.</em></p> |
62 |
|
63 |
<p>This document is a working draft. |
64 |
It might be updated, replaced, or obsoleted by |
65 |
other documents at any time. It is inappropriate to |
66 |
cite this document as other than <q>work in progress</q>.</p> |
67 |
|
68 |
<p>Comments on this document are welcome and |
69 |
may be sent to the <a href="#author">author</a>.</p> |
70 |
|
71 |
<p>Translations of thie document might be available. |
72 |
The English version of the document is the only |
73 |
normative version.</p> |
74 |
</div> |
75 |
|
76 |
<div id="introduction" class="section"> |
77 |
<h2>Introduction</h2> |
78 |
|
79 |
<div class="issue ed">...</div> |
80 |
|
81 |
</div> |
82 |
|
83 |
<div class="section" id="terminology"> |
84 |
<h2>Terminology</h2> |
85 |
|
86 |
<p>The key words <q><em class="rfc2119">MUST</em></q>, |
87 |
<q><em class="rfc2119">MUST NOT</em></q>, |
88 |
<q><em class="rfc2119">SHOULD</em></q>, |
89 |
<q><em class="rfc2119">SHOULD NOT</em></q>, and |
90 |
<q><em class=rfc2119>MAY</em></q> in this |
91 |
document are to be interpreted as described in |
92 |
<abbr title="Request for Comments">RFC</abbr> 2119 |
93 |
<cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p> |
94 |
</div> |
95 |
|
96 |
<div class="section" id="serializing"> |
97 |
<h2>Serializing Groups of Selectors</h2> |
98 |
|
99 |
<div class="issue ed"> |
100 |
<p><a href="http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/CSS/SelectorsSerializer.pm">See the reference implementation</a> |
101 |
for now.</p> |
102 |
</div> |
103 |
|
104 |
</div> |
105 |
|
106 |
<div class="section" id="parsing"> |
107 |
<h2>Parsing |
108 |
<abbr title="Selectors Serialization Format for Testing">SFFT</abbr> |
109 |
Groups of Selectors</h2> |
110 |
|
111 |
<p>Since <a href="#serializing">the serializing algorithm</a> is |
112 |
so designed that it always output a valid |
113 |
<a href="http://www.w3.org/TR/css3-selectors/#grouping">group of |
114 |
selectors</a>, no special parser for the <abbr>SFFT</abbr> |
115 |
is necessary. Any conforming |
116 |
<a href="http://www.w3.org/TR/css3-selectors/#grouping">group of |
117 |
selectors</a> parser <em class=rfc2119>MAY</em> be used |
118 |
to parse <abbr title="Selectors Serialization Format for Testing">SFFT</abbr> |
119 |
groups of selectors.</p> |
120 |
</div> |
121 |
|
122 |
<div class="section" id="examples"> |
123 |
<h2>Examples</h2> |
124 |
|
125 |
<p>This section is <em>informative</em>.</p> |
126 |
|
127 |
<div class="ed issue"> |
128 |
<p><a href="http://suika.fam.cx/gate/2007/css/parser-interface">Try demo</a>, |
129 |
by choosing <q>Selectors</q> radio button.</a></p> |
130 |
|
131 |
<div class="example figure block"> |
132 |
<div class="caption">...</div> |
133 |
|
134 |
<pre><code>...</code></pre> |
135 |
</div> |
136 |
|
137 |
</div> |
138 |
|
139 |
</div> |
140 |
|
141 |
<div id="references" class="section reference"> |
142 |
<h2>References</h1> |
143 |
|
144 |
<div id="normative-references" class="section normative reference"> |
145 |
<h3>Normative References</h3> |
146 |
|
147 |
<dl> |
148 |
<dt id="ref-KEYWORDS">KEYWORDS</dt> |
149 |
<dd class="ed">RFC 2119. The exact version of the specification |
150 |
is referenced.</dd> |
151 |
<dt id=ref-SELECTORS>SELECTORS</dt> |
152 |
<dd class=ed><cite>Selectors</cite>, W3C WD, work in progress.</dd> |
153 |
</dl> |
154 |
</div> |
155 |
|
156 |
<div id="informative-references" class="section informative reference"> |
157 |
<h3>Informative References</h3> |
158 |
|
159 |
<dl> |
160 |
<dt id=ref-CSSOM</dt>CSSOM</dt> |
161 |
<dd class=ed>CSSOM specification, W3C ED, work in progress.</dd> |
162 |
</dl> |
163 |
</div> |
164 |
|
165 |
</div> |
166 |
|
167 |
</body> |
168 |
</html> |