Re: [whatwg] [html5] html:style parsing

2006-03-13 Thread Ian Hickson
On Mon, 13 Mar 2006, L. David Baron wrote: > > STYLE and SCRIPT elements have similar parsing rules in tag-soup HTML, > where everything is treated as text until or . This > is why you see an alert with stuff that looks like tags in: > > data:text/html,alert(document.getElementsByTagNam

Re: [whatwg] [html5] html:style parsing

On Saturday 2006-03-11 00:22 +, Ian Hickson wrote: > 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 concatena

Re: [whatwg] [html5] html:style parsing

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

Re: [whatwg] [html5] html:style parsing

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

Re: [whatwg] [html5] html:style parsing

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

Re: [whatwg] [html5] html:style parsing

On Mon, 31 Oct 2005, Lachlan Hunt wrote: > > | All child elements must be processed, according to their semantics, > | before the style element itself is evaluated. > > Ok, that's a little improvement, but it should probably say "All > [descendant] elements..." Yeah, good call. *fixes spec* *

Re: [whatwg] [html5] html:style parsing

Ian Hickson wrote: On Mon, 31 Oct 2005, Lachlan Hunt wrote: 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. | Al

Re: [whatwg] [html5] html:style parsing

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 m

Re: [whatwg] [html5] html:style parsing

Ian Hickson wrote: On Sun, 30 Oct 2005, Anne van Kesteren 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 us

Re: [whatwg] [html5] html:style parsing

On Sun, 30 Oct 2005, Anne van Kesteren wrote: > > For XML documents not all elements are ignored. Elements with known semantics > are parsed. This is correct. What says otherwise? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] [html5] html:style parsing

Quoting Jim Ley <[EMAIL PROTECTED]>: Is this not a bug? I can't see anywhere in any XHTML specification that states that html:style children of html:style elements should be treated as if they were stylesheets. Error handling for the html:style element is not defined. -- Anne van Kesteren

Re: [whatwg] [html5] html:style parsing

On 10/30/05, Anne van Kesteren <[EMAIL PROTECTED]> wrote: > > > (Mozilla seems to treat elements and comments differently as shown in 001, > 002, > 003 and 004. Both testcases all show green in Opera and Mozilla.) Is this not a bug? I

[whatwg] [html5] html:style parsing

For XML documents not all elements are ignored. Elements with known semantics are parsed. See: (Mozilla seems to