2011-05-20 Rob Buis <rbuis@rim.com>
authorrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 May 2011 19:53:13 +0000 (19:53 +0000)
committerrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 May 2011 19:53:13 +0000 (19:53 +0000)
commit77a4b97d8efe9fbaff2962f64bf3e20c5a461059
tree10357712c21ba78e920c7a446a74af946aaf339e
parent182c32bfe4232e56a4eb85d5ca15f4b01721eb80
2011-05-20  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        Use test from ietestcenter fails
        https://bugs.webkit.org/show_bug.cgi?id=60844

        When an id changes on an in-document element, we need to check whether the id
        is part of the pending elements. Since this is the same thing as happens in
        insertedIntoDocument, split out the common code into buildPendingResourcesIfNeeded.

        Test: svg/W3C-SVG-1.1-SE/struct-use-14-f.svg

        * svg/SVGStyledElement.cpp:
        (WebCore::SVGStyledElement::svgAttributeChanged):
        (WebCore::SVGStyledElement::insertedIntoDocument):
        (WebCore::SVGStyledElement::buildPendingResourcesIfNeeded):
        * svg/SVGStyledElement.h:
2011-05-20  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        Use test from ietestcenter fails
        https://bugs.webkit.org/show_bug.cgi?id=60844

        * platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added.
        * svg/W3C-SVG-1.1-SE/struct-use-14-f.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt [new file with mode: 0644]
LayoutTests/svg/W3C-SVG-1.1-SE/struct-use-14-f.svg [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGStyledElement.cpp
Source/WebCore/svg/SVGStyledElement.h