- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 31 Oct 2005 00:53:43 +0000 (UTC)
On Mon, 31 Oct 2005, Lachlan Hunt wrote: > > > > > > For XML documents not all elements are ignored. Elements with known > > > semantics are parsed. > > > > This is correct. What says otherwise? > > 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. > > That definition is unclear in the case of: > http://annevankesteren.nl/test/xml/xhtml/style-element/005 > > <style> > p { background:red } > <style> p { background:lime } </style> > </style> > > It says the content of nested elements should be ignored; but since it is a > style element itself, it's not being ignored by Mozilla. Oh, I see the confusion. The parenthetical is being interpreted way too literally. Ok, fixed. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 30 October 2005 16:53:43 UTC