W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: Use cases for Range::createContextualFragment and script nodes

From: Adam Barth <w3c@adambarth.com>
Date: Wed, 20 Oct 2010 21:41:50 -0700
Message-ID: <AANLkTinzHfeeM0k+WYaVEmL6=-g_nUn3U8o0XYqn+=Pu@mail.gmail.com>
To: Stewart Brodie <stewart.brodie@antplc.com>
Cc: public-webapps@w3.org
On Wed, Oct 20, 2010 at 7:14 AM, Stewart Brodie
<stewart.brodie@antplc.com> wrote:
> Henri Sivonen <hsivonen@iki.fi> wrote:
>> When WebKit or Firefox trunk create an HTML script element node via
>> Range::createContextualFragment, the script has its 'already started' flag
>> set, so the script won't run when inserted into a document. In Opera 10.63
>> and in Firefox 3.6.x, the script doesn't have the 'already started' flag
>> set, so the script behaves like a script created with
>> document.createElement("script") when inserted into a document.
>>
>> I'd be interested in use cases around createContextualFragment in order to
>> get a better idea of which behavior should be the correct behavior going
>> forward.
>
> Does the specification for createContextualFragment say anything about this?

I don't believe such a spec exists, or at least I couldn't find one
the other month.

Adam
Received on Thursday, 21 October 2010 04:43:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT