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

2010-10-22 Thread Anne van Kesteren
On Thu, 21 Oct 2010 08:43:18 +0200, Maciej Stachowiak wrote: It should probably be added to a spec at some point. Perhaps Web DOM Core could be expanded to cover Range & Tranversal? There is: http://bitbucket.org/ms2ger/dom-range I am not sure if it is a good idea to put Range into DOM

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

2010-10-21 Thread Maciej Stachowiak
On Oct 21, 2010, at 1:06 AM, Olli Pettay wrote: > On 10/21/2010 09:43 AM, Maciej Stachowiak wrote: >> >> It is indeed not part of any standard. It was originally a Mozilla >> vendor extension, later copied by Opera and Safari. We added support >> for it in 2002 because at least at the time, some

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

2010-10-21 Thread Olli Pettay
On 10/21/2010 09:43 AM, Maciej Stachowiak wrote: On Oct 20, 2010, at 9:41 PM, Adam Barth wrote: On Wed, Oct 20, 2010 at 7:14 AM, Stewart Brodie wrote: Henri Sivonen wrote: When WebKit or Firefox trunk create an HTML script element node via Range::createContextualFragment, the script has i

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

2010-10-20 Thread Maciej Stachowiak
On Oct 20, 2010, at 9:41 PM, Adam Barth wrote: > On Wed, Oct 20, 2010 at 7:14 AM, Stewart Brodie > wrote: >> Henri Sivonen wrote: >>> When WebKit or Firefox trunk create an HTML script element node via >>> Range::createContextualFragment, the script has its 'already started' flag >>> set, so th

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

2010-10-20 Thread Adam Barth
On Wed, Oct 20, 2010 at 7:14 AM, Stewart Brodie wrote: > Henri Sivonen 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 Oper

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

2010-10-20 Thread Stewart Brodie
Henri Sivonen 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

Use cases for Range::createContextualFragment and script nodes

2010-10-20 Thread Henri Sivonen
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,