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 16372 - MutationObserver handling is wrong for .textContent
Summary: MutationObserver handling is wrong for .textContent
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 16:38 UTC by Olli Pettay
Modified: 2012-03-20 14:31 UTC (History)
2 users (show)

See Also:


Attachments

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.