2007-12-15 Eric Seidel <eric@webkit.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Dec 2007 20:03:38 +0000 (20:03 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Dec 2007 20:03:38 +0000 (20:03 +0000)
commit30dba09cae0726a22633f5ce2d2215a562035036
tree9073eeeb5f4ffe19f1e0e63fd0fa419d2b3b6eda
parent5065313a2394206f730174a1f983ecb4ab51ec5e
2007-12-15  Eric Seidel  <eric@webkit.org>

        Reviewed by Oliver.

        Width of SVG elements not applied to container elements
        http://bugs.webkit.org/show_bug.cgi?id=16305
        Added calcPrefWidths for RenderSVGRoot (copied from RenderReplaced)
        This is caused by poor factoring in the render tree.  RenderContainer probably should be a template.

        svg/css/css-box-min-width.html

        * rendering/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::calcPrefWidths): Added.
        * rendering/RenderSVGRoot.h:
        * css/SVGCSSStyleSelector::applySVGProperty: fixed ASSERT in debug builds

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/css/css-box-min-width-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/css/css-box-min-width-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/css/css-box-min-width-expected.txt [new file with mode: 0644]
LayoutTests/svg/css/css-box-min-width.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/SVGCSSStyleSelector.cpp
WebCore/rendering/RenderSVGImage.cpp
WebCore/rendering/RenderSVGRoot.cpp
WebCore/rendering/RenderSVGRoot.h