2006-08-11 Eric Seidel <eric@eseidel.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Aug 2006 04:07:25 +0000 (04:07 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Aug 2006 04:07:25 +0000 (04:07 +0000)
commitd64773ecb83dbb6d859eabcb43452e272bb24a02
treefdeaa65c5cc2ea4c6e7729f7c0770cf9aa09bca8
parentbd4c18e77284efa75348c343303a25893ec76ed7
2006-08-11  Eric Seidel  <eric@eseidel.com>

        Reviewed by andersca.

        The outermost <svg> element needs to clip itself
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5358

        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::adjustRenderStyle): adjust for SVG overflow rules
        * kcanvas/RenderSVGContainer.cpp:
        (WebCore::RenderSVGContainer::requiresLayer): only require layers for absolute/relative positioning of outermost SVG
        (WebCore::RenderSVGContainer::paint):
        * kcanvas/device/KRenderingDevice.h:
        * kcanvas/device/quartz/KRenderingDeviceQuartz.h: remove dead methods
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: remove dead methods
        (WebCore::KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz):
        * ksvg2/svg/SVGPaint.cpp: spacing changes
        (WebCore::SVGPaint::SVGPaint): spacing cleanup
        * ksvg2/svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::parseMappedAttribute): spacing cleanup
        * platform/GraphicsContext.h: Added concatCTM
        * platform/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::concatCTM): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/masking-path-03-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/masking-path-03-b-expected.png
LayoutTests/svg/custom/svg-overflow-types-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/svg-overflow-types-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/svg-overflow-types-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/svg-overflow-types.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/cssstyleselector.cpp
WebCore/kcanvas/RenderSVGContainer.cpp
WebCore/kcanvas/device/KRenderingDevice.h
WebCore/kcanvas/device/quartz/KRenderingDeviceQuartz.h
WebCore/kcanvas/device/quartz/KRenderingDeviceQuartz.mm
WebCore/ksvg2/svg/SVGPaint.cpp
WebCore/ksvg2/svg/SVGSVGElement.cpp
WebCore/platform/GraphicsContext.h
WebCore/platform/cg/GraphicsContextCG.cpp