W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] script tag handling in "after head"

From: Tommy Thorsen <tommy@kvaleberg.com>
Date: Tue, 11 Nov 2008 15:21:31 +0100
Message-ID: <491994EB.7090901@kvaleberg.com>
Henri Sivonen wrote:
> On Nov 11, 2008, at 13:27, Tommy Thorsen wrote:
>
>> The assertion that the current node is still the head element pointer 
>> does not seem correct, as we push a script element onto the stack of 
>> open elements in the "A start tag whose tag name is 'script'" section 
>> of the "in head" insertion mode.
>
>
> This is http://www.w3.org/Bugs/Public/show_bug.cgi?id=6038
>

Ah, thank you. I hadn't really looked at that bugzilla before. I added 
my solution as a third possible fix.

I think the first solution in the description of that bug sounds nice, 
but I'm not too fond of the second solution. (The one which involves 
sometimes popping one extra time.) Just my two cents' worth.
Received on Tuesday, 11 November 2008 06:21:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC