<http://suika.fam.cx/www/markup/selectors/ssft/ssft>
<http://suika.fam.cx/www/markup/selectors/ssft/ssft>
© 2007 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.
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 informative.
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
at the time of the writing. 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].
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+0020
SPACE
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://dev.w3.org/csswg/cssom/Overview.html>
.