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 16140 - DOM should keep a list of MutationObservers in creation order
Summary: DOM should keep a list of MutationObservers in creation order
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 23:40 UTC by Adam Klein
Modified: 2012-02-29 18:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Adam Klein 2012-02-27 23:40:51 UTC
This will be used to enforce a consistent ordering on MutationRecord delivery (oldest-to-newest).
Comment 2 Adam Klein 2012-02-29 18:14:42 UTC
(In reply to comment #1)
> https://bitbucket.org/ms2ger/dom-core/changeset/d316e570527a

Thanks! The one thing missing is that the intent (and the WebKit impl, at least) is to keep looping over the observers until all the queues are empty. This ensures that multiple observers can interact with each other while still preserving the feature that observers hear about dom changes before a paint.
Comment 3 Anne 2012-02-29 18:51:02 UTC
Ok, I think I got that covered now (as well as removal of transient observers): https://bitbucket.org/ms2ger/dom-core/changeset/c6ad9b7a9dff