[Webkit-unassigned] [Bug 70146] New: Modifying the class attribute fires two DOMSubtreeModified mutation events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 14:21:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=70146

           Summary: Modifying the class attribute fires two
                    DOMSubtreeModified mutation events
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rafaelw at chromium.org
                CC: mjs at apple.com, darin at apple.com, sam at webkit.org,
                    rniwa at webkit.org, adamk at chromium.org


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list