Bug 70146

Summary: Modifying the class attribute fires two DOMSubtreeModified mutation events
Product: WebKit Reporter: Rafael Weinstein <rafaelw>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: adamk, ap, darin, mjs, rniwa, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Rafael Weinstein 2011-10-14 14:21:35 PDT
Small test attached. Currently output is 

foo attribute
fired
class attribute
fired
fired

It looks like the general case of dispatching this event is handled in NamedNodeMap::addAttribute, and additionally a separate event is dispatched for class in StyledElement::classAttributeChanged