2006-01-15 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 15 Jan 2006 10:47:29 +0000 (10:47 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 15 Jan 2006 10:47:29 +0000 (10:47 +0000)
commit2d194f395001ebb1ed380b275724816e0d2a43fa
tree24ca4e4828105130666a55848d2056426af1e5ae
parent2fa11a52c7fd075f64f4d762318fc41ee1cb4dbf
2006-01-15  Eric Seidel  <eseidel@apple.com>

        Reviewed by mjs.

        Add basic <tspan> support using RenderInline.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6428
        Also fix <text transform=""> while we're at it.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6552

        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::parseMappedAttribute): code cleanup
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        (SVGPatternElementImpl::parseMappedAttribute): code cleanup
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
        (SVGStyledTransformableElementImpl::parseMappedAttribute): cleanup
        * ksvg2/svg/SVGTSpanElementImpl.cpp:
        (SVGTSpanElementImpl::childShouldCreateRenderer): added.
        (SVGTSpanElementImpl::createRenderer): added.
        * ksvg2/svg/SVGTSpanElementImpl.h:
        (KSVG::SVGTSpanElementImpl::rendererIsNeeded): added.
        * ksvg2/svg/SVGTextElementImpl.cpp:
        (SVGTextElementImpl::transform): added.
        (SVGTextElementImpl::localMatrix): added.
        (SVGTextElementImpl::parseMappedAttribute): support transform.
        (SVGTextElementImpl::updateLocalTransform): added.
        (SVGTextElementImpl::attach): added.
        (SVGTextElementImpl::childShouldCreateRenderer): allow tspan.
        * ksvg2/svg/SVGTextElementImpl.h:
        * ksvg2/svg/SVGTransformableImpl.cpp:
        (SVGTransformableImpl::parseTransformAttribute): code cleanup.
        * ksvg2/svg/SVGTransformableImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
39 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/animate-elem-24-t-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-conv-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-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.checksum
LayoutTests/svg/W3C-SVG-1.1/text-align-04-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-align-06-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-align-06-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-align-06-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-deco-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-deco-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tselect-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tspan-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt
WebCore/ChangeLog
WebCore/ksvg2/svg/SVGGradientElementImpl.cpp
WebCore/ksvg2/svg/SVGPatternElementImpl.cpp
WebCore/ksvg2/svg/SVGStyledTransformableElementImpl.cpp
WebCore/ksvg2/svg/SVGTSpanElementImpl.cpp
WebCore/ksvg2/svg/SVGTSpanElementImpl.h
WebCore/ksvg2/svg/SVGTextElementImpl.cpp
WebCore/ksvg2/svg/SVGTextElementImpl.h
WebCore/ksvg2/svg/SVGTransformableImpl.cpp
WebCore/ksvg2/svg/SVGTransformableImpl.h