W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2006

[whatwg] [html5] html:style parsing

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 11 Mar 2006 00:22:23 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603110022120.315@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 March 2006 16:22:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC