<http://suika.fam.cx/www/markup/selectors/ssft/ssft>
<http://suika.fam.cx/www/markup/selectors/ssft/ssft>
<http://suika.fam.cx/gate/cvs/markup/selectors/ssft/ssft.en.html>
© Wakaba.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front‐Cover Texts, and no Back‐Cover
Texts. A copy of the license is
available at <http://www.gnu.org/copyleft/fdl.html>
.
This section describes the status of this document at the time of its publication. Other documents might supersede this document.
This document is a working draft, produced as part
of the manakai
project. It might be updated, replaced, or obsoleted by
other documents at any time. It is inappropriate to
cite this document as other than work in progress
.
Comments on this document are welcome and may be sent to the author.
Translations of thie document might be available. The English version of the document is the only normative version.
This section is non-normative.
Selectors [SELECTORS] are patterns that match against elements in a tree structure and are used in Web technologies, including CSS [CSS], HTML5 [HTML5], XBL2 [XBL2], and Selectors API [SAPI].
The
CSSOM
specification
[CSSOM]
is trying to define an algorithm to
serialize
a group of selectors for the purpose of selectorText
attribute. However, the algorithm is incomplete
.
Note that current Web browser implementations
of the selectorText
attribute are consistently broken
in not escaping unsafe identifiers.
The key words MUST
,
MUST NOT
,
SHOULD
,
SHOULD NOT
, and
MAY
in this
document are to be interpreted as described in
RFC
2119
[KEYWORDS].
All examples and notes in this specification are non-normative, as are all sections explicitly marked non-normative. Everything else in this specification is normative.
See the reference implementation for now.
Newline is U+000A
LINE FEED
or
U+000D U+000A or U+000A ??.
U+002C
COMMA
followed by a
newline to result.U+0020
SPACE
characters to result.U+0020
SPACE
characters to result.U+0020
SPACE
character to
result.>
)U+003E
GREATER-THAN SIGN
character to
result.+
)U+002B
PLUS SIGN
character to
result.~
)U+007E
TILDE
character to
result.U+0020
SPACE
character to
result.Since the serializing algorithm is so designed that it always output a valid group of selectors, no special parser for SFFT is necessary. Any conforming group of selectors parser MAY be used to parse SFFT groups of selectors.
<http://www.w3.org/TR/CSS21>
.<http://dev.w3.org/csswg/cssom/Overview.html>
.<http://dev.w3.org/2006/webapi/selectors-api/Overview.html>
.
The latest published version of the specification is available at
<http://www.w3.org/TR/selectors-api/>
.<http://www.w3.org/TR/xbl/>
.