[Webkit-unassigned] [Bug 8191] DOMAttrModified mutation event support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 24 04:17:25 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=8191


illenberger at mac.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |illenberger at mac.com




------- Comment #2 from illenberger at mac.com  2008-03-24 04:17 PDT -------
Please consider enabling the support for DOMAttrModified events as they are the
only important missing DOM events. 
WebCore's Element.cpp contains a disabled implementation:

void Element::dispatchAttrAdditionEvent(Attribute *attr)
{
    ASSERT(!eventDispatchForbidden());
#if 0
    if (!document()->hasListenerType(Document::DOMATTRMODIFIED_LISTENER))
        return;
    ExceptionCode ec = 0;
    dispatchEvent(new MutationEvent(DOMAttrModifiedEvent, true, false, attr,
attr->value(),
        attr->value(),document()->attrName(attr->id()),
MutationEvent::ADDITION), ec);
#endif
}

Why is this disabled? Are these events causing any problems?


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



More information about the webkit-unassigned mailing list