[whatwg] [html5] html:style parsing
Ian Hickson
ian at hixie.ch
Fri Mar 10 16:22:23 PST 2006
On Fri, 4 Nov 2005, L. David Baron wrote:
>
> On Monday 2005-10-31 10:53 +1100, Lachlan Hunt wrote:
> > The current web-apps draft:
> >
> > | For styling languages that consist of pure text, user agents must use
> > | a concatenation of the contents of all the text nodes and CDATA nodes
> > | that are direct children of the style element (ignoring any other
> > | nodes such as comments or elements), in tree order.
>
> The specification should be clearer that for SGML-based documents (as
> opposed to XML-based documents), the parsing rules may mean that things
> that look like child nodes aren't actually child nodes (since STYLE has
> CDATA parsing according to the HTML4 DTD, and is generally implemented
> far closer to that than to normal parsing). If you specify anything
> precisely regarding this, please write testcases to make sure it matches
> what's actually implemented, which is probably what's required by the
> Web.
Could you expand on this? I don't really follow.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list