Not correctly recalculating layout for elements within nested SVG elements
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 20:31:11 +0000 (20:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2012 20:31:11 +0000 (20:31 +0000)
commit8006680f67e968f74e19cb4bc857e32319cfaf84
tree5657e724f7983b90a06284618b3dd03e5a49e4c2
parentc1e94362d0faa64f0483c6e53647a2347523ba24
Not correctly recalculating layout for elements within nested SVG elements
https://bugs.webkit.org/show_bug.cgi?id=77535

Patch by Bear Travis <betravis@adobe.com> on 2012-02-22
Reviewed by Dirk Schulze.

Source/WebCore:

Relatively positioned text is not correctly updating its position when the
size of its nearest viewport changes. Updating to mark text for layout when
viewPort size changes.

Test: svg/repaint/inner-svg-change-viewPort-relative.svg

* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::layoutChildren):

LayoutTests:

Adding a repaint test for a relatively sized inner svg and inner svg content when
its width/height changes.

* platform/chromium/test_expectations.txt:
* svg/repaint/inner-svg-change-viewPort-relative-expected.png: Added.
* svg/repaint/inner-svg-change-viewPort-relative-expected.txt: Added.
* svg/repaint/inner-svg-change-viewPort-relative.svg: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/svg/repaint/inner-svg-change-viewPort-relative-expected.png [new file with mode: 0644]
LayoutTests/svg/repaint/inner-svg-change-viewPort-relative-expected.txt [new file with mode: 0644]
LayoutTests/svg/repaint/inner-svg-change-viewPort-relative.svg [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/svg/SVGRenderSupport.cpp