Attach light children after removing a shadow root.
authorhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 06:36:02 +0000 (06:36 +0000)
committerhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 06:36:02 +0000 (06:36 +0000)
commit9715a50eda9abbf33190566ff084b84e038bc8f0
tree95581ec69be27ae3ef4a23c07474183c031a76d2
parentc20c17d573d89e73a065de7ba1c165a4b6e3bd1a
Attach light children after removing a shadow root.
https://bugs.webkit.org/show_bug.cgi?id=74267

Reviewed by Ryosuke Niwa.

Source/WebCore:

Tests: fast/dom/shadow/dynamically-created-shadow-root-expected.html
       fast/dom/shadow/dynamically-created-shadow-root.html:

* dom/Element.cpp:
(WebCore::Element::removeShadowRoot):

LayoutTests:

* fast/dom/shadow/dynamically-created-shadow-root-expected.html:
* fast/dom/shadow/dynamically-created-shadow-root.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/shadow/dynamically-created-shadow-root-expected.html
LayoutTests/fast/dom/shadow/dynamically-created-shadow-root.html
Source/WebCore/ChangeLog
Source/WebCore/dom/Element.cpp