This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
What is this about?
http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/1318.html
Defining that proposal in DOM Core, and the original mutation events if they cannot be removed from browsers.
Created attachment 1075 [details] Proposed spec text for mutation observers Here's the text I've put together so far (if you want to apply this locally, it's against changeset 934:334b4c11b92f). Major thing missing is any discussion of delivery; it seems likely to me that'll have to go in another spec. But there's plenty of minor things missing too. For now, I'd mostly like to see if I'm going in the right direction (this is my first time working on a web spec). Besides the overhaul of of #mutation-observers, interesting anchors to check out are: #concept-node-insert #concept-node-remove #dom-element-setattribute #concept-element-attributes-append #concept-element-attributes-remove #concept-cd-replace
MutationObserver-observe should become dom-MutationObserver-observe etc. We prefix IDL members with dom-. The same goes for dictionaries, i.e. dom-MutationObserverInit-*. I have not read it in detail, but it looks good.
Adam, can you provide an updated patch?
Created attachment 1080 [details] Draft spec text updated with dom- prefixes Updated with dom- prefixes. I suspect there are other style issues like that lurking in the patch as well. Note that this is still against changeset 934, so if things in mutation algorithms or attributes have changed since then this may not apply cleanly.
I checked this in, along with several smaller follow up commits by myself to clean up a few things. I will probably take another look at the new text tomorrow. For significant issues I recommend people file new bugs. The patch: http://dvcs.w3.org/hg/domcore/rev/f483bcdf3dba After that: http://dvcs.w3.org/hg/domcore/rev/a7a596e99a70 http://dvcs.w3.org/hg/domcore/rev/169bb50139ba http://dvcs.w3.org/hg/domcore/rev/c2ce3a0a4d47 Marking this fixed. Thanks Adam!