Make sure that clearOwnerNode also clears StyleResolver references (via didMutate).
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 04:37:32 +0000 (04:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 04:37:32 +0000 (04:37 +0000)
commit6c421d08e591d93ae42249e8af77272a759668f6
treeb3b2edcd644da91bd4957edd9ce85d2e90b5d1c6
parentc3494c76993cf51cadcadf78df9e49d8aa018bc8
Make sure that clearOwnerNode also clears StyleResolver references (via didMutate).
https://bugs.webkit.org/show_bug.cgi?id=109446

Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-03-04
Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/css/stylesheet.innerHTML-calls-didmutate.html

* css/CSSStyleSheet.h:

LayoutTests:

* fast/css/stylesheet.innerHTML-calls-didmutate-expected.txt: Added.
* fast/css/stylesheet.innerHTML-calls-didmutate.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/stylesheet.innerHTML-calls-didmutate-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/stylesheet.innerHTML-calls-didmutate.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSheet.h