Crash due to incorrect firing of mutation event during class attribute parsing.
authorinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 20:45:20 +0000 (20:45 +0000)
committerinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 20:45:20 +0000 (20:45 +0000)
commit7493ca5728b8509a3c827690d55b31a4e76d9e2b
tree8f61517230c99f6a7b717e8f4a1d74968ef88f45
parent41b9765c6c6f4210f2effc3c0fc5348e9a6d451c
Crash due to incorrect firing of mutation event during class attribute parsing.
https://bugs.webkit.org/show_bug.cgi?id=78537

Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: fast/dom/class-attr-change-double-mutation-fire.html

* dom/StyledElement.cpp:
(WebCore::StyledElement::classAttributeChanged):

LayoutTests:

* fast/dom/class-attr-change-double-mutation-fire-expected.txt: Added.
* fast/dom/class-attr-change-double-mutation-fire.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/class-attr-change-double-mutation-fire-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/class-attr-change-double-mutation-fire.html [new file with mode: 0755]
Source/WebCore/ChangeLog
Source/WebCore/dom/StyledElement.cpp