Bug 16372 - MutationObserver handling is wrong for .textContent
MutationObserver handling is wrong for .textContent
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: DOM
unspecified
PC Linux
: P2 normal
: ---
Assigned To: Anne
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-14 16:38 UTC by Olli Pettay
Modified: 2012-03-20 14:31 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Pettay 2012-03-14 16:38:09 UTC
Setting .textContent should create just one MutationRecord.
Per spec there will one for the new text node, and one for each old 
child node.
Comment 1 Anne 2012-03-20 14:30:17 UTC
I think I fixed this. Review welcome.