This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17543 - "The script element gets inserted into a document." - is the order defined if multiple script elements are simultaneously inserted? What about the relative order of other things that happen on insertion and script elements?
Summary: "The script element gets inserted into a document." - is the order defined if...
Status: RESOLVED DUPLICATE of bug 17880
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on: 17530
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 09:25 UTC by contributor
Modified: 2012-09-20 19:59 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-06-19 09:25:36 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-script-element
Complete: http://www.whatwg.org/c#the-script-element

Comment:
"The script element gets inserted into a document." - is the order defined if
multiple script elements are simultaneously inserted? What about the relative
order of other things that happen on insertion and script elements?

Posted from: 2001:4c28:a030:30:5c7a:fe86:ae7:ee3a
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.10.289 Version/12.00
Comment 1 Ian 'Hixie' Hickson 2012-06-21 06:32:02 UTC
Yeah, this isn't defined.

Unless there's a compat reason not to, my inclination is to define execution as happening after the mutation listeners, in tree order (pre-order, depth-first traversal).
Comment 2 Ian 'Hixie' Hickson 2012-06-21 06:37:41 UTC
See also bug 17529.
Comment 3 Ian 'Hixie' Hickson 2012-07-12 19:43:10 UTC
(this will probably use the hook from bug 17530)
Comment 4 contributor 2012-07-18 18:00:30 UTC
This bug was cloned to create bug 18298 as part of operation convergence.
Comment 5 Ian 'Hixie' Hickson 2012-09-20 19:50:00 UTC
Will fix this as part of bug 17529.

*** This bug has been marked as a duplicate of bug 17529 ***
Comment 6 Ian 'Hixie' Hickson 2012-09-20 19:59:38 UTC
I mean bug 17880.

*** This bug has been marked as a duplicate of bug 17880 ***