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

Use cases for Range::createContextualFragment and script nodes

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 20 Oct 2010 05:48:41 -0700 (PDT)
To: public-webapps <public-webapps@w3.org>
Message-ID: <760761468.123135.1287578921191.JavaMail.root@cm-mail03.mozilla.org>
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.

Henri Sivonen
Received on Wednesday, 20 October 2010 12:49:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:13 UTC