LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jul 2006 04:53:11 +0000 (04:53 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Jul 2006 04:53:11 +0000 (04:53 +0000)
commiteb129e7205cbd016a7c36750dfd34f415582e274
tree00dfbf5c3539bea91220d6b2e9eb2a3296e17deb
parent1a45fea21b39f11a8cb366f74f3f0620a16340d1
LayoutTests:

        Reviewed by Maciej.

        Test case for
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=9753>
        SVG with width and height 100% leaves room for scrollbar on the right.

        * svg/custom/width-full-percentage-expected.txt: Added.
        * svg/custom/width-full-percentage-expected.checksum: Added.
        * svg/custom/width-full-percentage-expected.png: Added.
        * svg/custom/width-full-percentage.svg: Added.

WebCore:

        Reviewed by Maciej.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9753
        SVG with width and height 100% leaves room for scrollbar on the right.

        Relayout children of svg containers, except svg shapes that do not depend on percentages.

        * kcanvas/RenderPath.cpp: (WebCore::RenderPath::hasPercentageValues):
        * kcanvas/RenderPath.h:
        * kcanvas/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::layout):
        * ksvg2/svg/SVGCircleElement.cpp: (SVGCircleElement::hasPercentageValues):
        * ksvg2/svg/SVGCircleElement.h:
        * ksvg2/svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::hasPercentageValues):
        * ksvg2/svg/SVGEllipseElement.h:
        * ksvg2/svg/SVGLineElement.cpp: (SVGLineElement::hasPercentageValues):
        * ksvg2/svg/SVGLineElement.h:
        * ksvg2/svg/SVGRectElement.cpp: (WebCore::SVGRectElement::hasPercentageValues):
        * ksvg2/svg/SVGRectElement.h:
        * ksvg2/svg/SVGStyledElement.h: (WebCore::SVGStyledElement::hasPercentageValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/custom/width-full-percentage-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/width-full-percentage-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/width-full-percentage-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/width-full-percentage.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/kcanvas/RenderPath.cpp
WebCore/kcanvas/RenderPath.h
WebCore/kcanvas/RenderSVGContainer.cpp
WebCore/ksvg2/svg/SVGCircleElement.cpp
WebCore/ksvg2/svg/SVGCircleElement.h
WebCore/ksvg2/svg/SVGEllipseElement.cpp
WebCore/ksvg2/svg/SVGEllipseElement.h
WebCore/ksvg2/svg/SVGLineElement.cpp
WebCore/ksvg2/svg/SVGLineElement.h
WebCore/ksvg2/svg/SVGRectElement.cpp
WebCore/ksvg2/svg/SVGRectElement.h
WebCore/ksvg2/svg/SVGStyledElement.h