WebCore:
authorrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Sep 2006 09:03:24 +0000 (09:03 +0000)
committerrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Sep 2006 09:03:24 +0000 (09:03 +0000)
commit1249b346ff1354c72d1a67a3ec23c032dd3ffea4
treee998dc12dfd4ea69d601397c91f833844712ffa0
parentc8476968dc06a4e22fab2869c0485ece366b17f3
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.

LayoutTests:
        Reviewed by Maciej.

        New 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.

        Also Updated .txt files (all text blocks are wider) and some updated
        pixel tests (some text is layouted differently because of wider text blocks).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
231 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/animate-elem-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-path-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.png
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.png
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png
LayoutTests/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-image-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-02-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-align-02-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-align-02-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-03-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-align-03-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-align-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-05-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-path-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-text-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-text-03-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-text-03-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-text-03-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt
LayoutTests/svg/custom/coords-relative-units-transforms-expected.txt
LayoutTests/svg/custom/feComponentTransfer-Discrete-expected.txt
LayoutTests/svg/custom/feComponentTransfer-Gamma-expected.txt
LayoutTests/svg/custom/feComponentTransfer-Linear-expected.txt
LayoutTests/svg/custom/feComponentTransfer-Table-expected.txt
LayoutTests/svg/custom/image-with-transform-clip-filter-expected.txt
LayoutTests/svg/custom/invalid-css-expected.txt
LayoutTests/svg/custom/invalid-viewbox1-expected.txt
LayoutTests/svg/custom/invalid-viewbox2-expected.txt
LayoutTests/svg/custom/non-opaque-filters-expected.txt
LayoutTests/svg/custom/percentage-rect-expected.checksum
LayoutTests/svg/custom/percentage-rect-expected.png
LayoutTests/svg/custom/percentage-rect-expected.txt
LayoutTests/svg/custom/pointer-events-path-expected.txt
LayoutTests/svg/custom/svg-overflow-types-expected.txt
LayoutTests/svg/custom/text-clip-expected.txt
LayoutTests/svg/custom/text-filter-expected.txt
LayoutTests/svg/custom/text-gradient-no-content-expected.checksum
LayoutTests/svg/custom/text-gradient-no-content-expected.png
LayoutTests/svg/custom/text-gradient-no-content-expected.txt
LayoutTests/svg/custom/text-hit-test-expected.txt
LayoutTests/svg/custom/text-image-opacity-expected.txt
LayoutTests/svg/custom/tref-update-expected.txt
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