- From: Stanimir Stamenkov <stanio@myrealbox.com>
- Date: Mon, 17 Oct 2005 23:06:51 +0300
- To: www-style@w3.org
/Boris Zbarsky/: > Stanimir Stamenkov wrote: > >> I wonder how much faster it would be if the data is processed from a >> stream > > Given that the stylesheet needs, in general, to be reparsed when the > <style> DOM node is moved in the DOM, the only way the style data is > processed "from a stream" is if there are two separate codepaths for the > two cases... > >> and the tree is going to be crawled anyway, at least to detect the >> well-formed end of the 'style' element (I didn't understand the "error >> handling behavior" part) > > Per the XHTML DTD, elements are not allowed as children of <style>. So > a document that has such markup, while well-formed, is not valid. Thank you for your reply - all of this makes perfect sense to me, now. -- Stanimir
Received on Monday, 17 October 2005 20:06:58 UTC