2006-04-17 Rob Buis <buis@kde.org>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Apr 2006 10:57:05 +0000 (10:57 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Apr 2006 10:57:05 +0000 (10:57 +0000)
commitd6ca6d041403bd7619ea299ff21fae4c3d7fc38c
treebb11a9fb44858132c2f77a3269e5435d38bac230
parent0de620cc67fdc3170c5f20c2d0c998badccc3df6
2006-04-17  Rob Buis  <buis@kde.org>

        Reviewed by eseidel.  Landed by eseidel.

        Test: svg/custom/tref-update.svg

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6427:
        <tref> element not implemented

        Implementation of <tref> element.

        * WebCore.xcodeproj/project.pbxproj:
        * ksvg2/svg/SVGTRefElement.cpp: Added.
        (SVGTRefElement::SVGTRefElement):
        (SVGTRefElement::~SVGTRefElement):
        (SVGTRefElement::parseMappedAttribute):
        (SVGTRefElement::closeRenderer):
        (SVGTRefElement::childShouldCreateRenderer):
        (SVGTRefElement::createRenderer):
        * ksvg2/svg/SVGTRefElement.h: Added.
        (WebCore::SVGTRefElement::rendererIsNeeded):
        * ksvg2/svg/SVGTSpanElement.cpp:
        (SVGTSpanElement::childShouldCreateRenderer):
        * ksvg2/svg/SVGTextElement.cpp:
        (WebCore::SVGTextElement::childShouldCreateRenderer):
        * ksvg2/svg/svgtags.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/W3C-SVG-1.1/text-align-04-b-expected.txt
LayoutTests/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt
LayoutTests/svg/custom/tref-update-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/tref-update-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/tref-update-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/tref-update.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/ksvg2/svg/SVGTRefElement.cpp [new file with mode: 0644]
WebCore/ksvg2/svg/SVGTRefElement.h [new file with mode: 0644]
WebCore/ksvg2/svg/SVGTSpanElement.cpp
WebCore/ksvg2/svg/SVGTextElement.cpp
WebCore/ksvg2/svg/svgtags.in