[Webkit-unassigned] [Bug 70810] nameNodeListCache should be invalidated when name attribute changes/modified.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 18:23:26 PST 2011


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





--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org>  2011-12-07 18:23:26 PST ---
(From update of attachment 112321)
View in context: https://bugs.webkit.org/attachment.cgi?id=112321&action=review

>> Source/WebCore/html/HTMLElement.cpp:205
>> +        notifyNodeListsAttributeChanged();
> 
> We should be doing this where enqueueAttributesMutationRecord is called in Element::setAttribute.

Upon more investigation, calling notifyNodeListsAttributeChanged() here seems fine. Sorry to lead you to a wrong direction :( This is similar to how we end up calling notifyNodeListsAttributeChanged in StyledElement::classAttributeChanged via dispatchSubtreeModifiedEvent.

-- 
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