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