2010-09-04 Justin Schuh <jschuh@chromium.org>
authorjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Sep 2010 15:45:47 +0000 (15:45 +0000)
committerjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Sep 2010 15:45:47 +0000 (15:45 +0000)
commit5d8424a1aa7210db6561ad6a9f340fdce5edddf2
tree0789eeda4a726c68fa3644c8c07328b80253eea4
parent7d4af070671872086541b84215fabab08b1f1cbe
2010-09-04  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Prevent premature deletion of svg use shadow tree
        https://bugs.webkit.org/show_bug.cgi?id=43260

        Test: svg/custom/use-invalid-style.svg

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::insertedIntoDocument):
        (WebCore::SVGUseElement::removedFromDocument):
        (WebCore::SVGUseElement::detach):
2010-09-04  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Check for premature deletion of svg use shadow style element
        https://bugs.webkit.org/show_bug.cgi?id=43260

        * svg/custom/use-invalid-style-expected.txt: Added.
        * svg/custom/use-invalid-style.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/custom/use-invalid-style-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/use-invalid-style.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/svg/SVGUseElement.cpp