2011-01-09 Dirk Schulze <krit@webkit.org>
authorkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Jan 2011 17:05:28 +0000 (17:05 +0000)
committerkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Jan 2011 17:05:28 +0000 (17:05 +0000)
commit5bc6d58b40807c1dddeae63973de27999719158a
tree1ce469233103619df8e05b495feee8153410433a
parent82e766dda825915151477dc39ec9cf426566c8c0
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Rename RenderForeignObject to RenderSVGForeignObject
        https://bugs.webkit.org/show_bug.cgi?id=52129

        Rename RenderForeignObject to RenderSVGForeignObject to match the naming schema in render/svg.

        No change of functionality, no new tests.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * rendering/RenderingAllInOne.cpp:
        * rendering/svg/RenderForeignObject.cpp: Removed.
        * rendering/svg/RenderForeignObject.h: Removed.
        * rendering/svg/RenderSVGAllInOne.cpp:
        * rendering/svg/RenderSVGBlock.cpp:
        (WebCore::RenderSVGBlock::updateBoxModelInfoFromStyle):
        * rendering/svg/RenderSVGForeignObject.cpp: Copied from Source/WebCore/rendering/svg/RenderForeignObject.cpp.
        (WebCore::RenderSVGForeignObject::RenderSVGForeignObject):
        (WebCore::RenderSVGForeignObject::~RenderSVGForeignObject):
        (WebCore::RenderSVGForeignObject::paint):
        (WebCore::RenderSVGForeignObject::clippedOverflowRectForRepaint):
        (WebCore::RenderSVGForeignObject::computeRectForRepaint):
        (WebCore::RenderSVGForeignObject::localToParentTransform):
        (WebCore::RenderSVGForeignObject::computeLogicalWidth):
        (WebCore::RenderSVGForeignObject::computeLogicalHeight):
        (WebCore::RenderSVGForeignObject::layout):
        (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
        (WebCore::RenderSVGForeignObject::nodeAtPoint):
        (WebCore::RenderSVGForeignObject::mapLocalToContainer):
        * rendering/svg/RenderSVGForeignObject.h: Copied from Source/WebCore/rendering/svg/RenderForeignObject.h.
        (WebCore::RenderSVGForeignObject::renderName):
        * svg/SVGForeignObjectElement.cpp:
        (WebCore::SVGForeignObjectElement::createRenderer):
2011-01-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Rename RenderForeignObject to RenderSVGForeignObject
        https://bugs.webkit.org/show_bug.cgi?id=52129

        Renamed RenderForeignObject to RenderSVGForeignObject

        * platform/chromium-linux/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt:
        * platform/chromium-win/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/chromium-win/svg/custom/dynamic-svg-document-creation-expected.txt:
        * platform/chromium-win/svg/custom/foreign-object-skew-expected.txt:
        * platform/chromium-win/svg/custom/foreignObject-crash-on-hover-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
        * platform/chromium-win/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
        * platform/chromium-win/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/006-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/007-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/008-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/009-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/011-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-repaint-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
        * platform/gtk/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/gtk/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/gtk/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/gtk/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/gtk/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/gtk/svg/text/foreignObject-repaint-expected.txt:
        * platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/gtk/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/gtk/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac-leopard/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/mac-leopard/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/custom/baseval-animval-equality-expected.txt:
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/mac/svg/custom/dynamic-svg-document-creation-expected.txt:
        * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt:
        * platform/mac/svg/custom/foreign-object-skew-expected.txt:
        * platform/mac/svg/custom/foreignObject-crash-on-hover-expected.txt:
        * platform/mac/svg/custom/getPresentationAttribute-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
        * platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.txt:
        * platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
        * platform/mac/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/mac/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/mac/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/mac/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/mac/svg/hixie/mixed/006-expected.txt:
        * platform/mac/svg/hixie/mixed/007-expected.txt:
        * platform/mac/svg/hixie/mixed/008-expected.txt:
        * platform/mac/svg/hixie/mixed/009-expected.txt:
        * platform/mac/svg/hixie/mixed/011-expected.txt:
        * platform/mac/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/mac/svg/text/foreignObject-repaint-expected.txt:
        * platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/mac/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/mac/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
        * platform/qt/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt:
        * platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/qt/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/qt/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/qt/svg/overflow/overflow-on-foreignObject-expected.txt:
        * platform/qt/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/qt/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
        * platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
        * platform/qt/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
        * platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
106 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/chromium-linux/svg/custom/dominant-baseline-hanging-expected.txt
LayoutTests/platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt
LayoutTests/platform/chromium-win/svg/custom/dominant-baseline-hanging-expected.txt
LayoutTests/platform/chromium-win/svg/custom/dynamic-svg-document-creation-expected.txt
LayoutTests/platform/chromium-win/svg/custom/foreign-object-skew-expected.txt
LayoutTests/platform/chromium-win/svg/custom/foreignObject-crash-on-hover-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
LayoutTests/platform/chromium-win/svg/custom/use-on-non-svg-namespaced-element-expected.txt
LayoutTests/platform/chromium-win/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt
LayoutTests/platform/chromium-win/svg/foreignObject/svg-document-as-direct-child-expected.txt
LayoutTests/platform/chromium-win/svg/foreignObject/svg-document-in-html-document-expected.txt
LayoutTests/platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.txt
LayoutTests/platform/chromium-win/svg/hixie/mixed/006-expected.txt
LayoutTests/platform/chromium-win/svg/hixie/mixed/007-expected.txt
LayoutTests/platform/chromium-win/svg/hixie/mixed/008-expected.txt
LayoutTests/platform/chromium-win/svg/hixie/mixed/009-expected.txt
LayoutTests/platform/chromium-win/svg/hixie/mixed/011-expected.txt
LayoutTests/platform/chromium-win/svg/text/foreignObject-repaint-expected.txt
LayoutTests/platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/text/zoom-foreignObject-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/gtk/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt
LayoutTests/platform/gtk/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt
LayoutTests/platform/gtk/svg/foreignObject/svg-document-as-direct-child-expected.txt
LayoutTests/platform/gtk/svg/foreignObject/svg-document-in-html-document-expected.txt
LayoutTests/platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt
LayoutTests/platform/gtk/svg/overflow/overflow-on-foreignObject-expected.txt
LayoutTests/platform/gtk/svg/text/foreignObject-repaint-expected.txt
LayoutTests/platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.txt
LayoutTests/platform/gtk/svg/zoom/page/zoom-foreignObject-expected.txt
LayoutTests/platform/gtk/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/gtk/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/gtk/svg/zoom/text/zoom-foreignObject-expected.txt
LayoutTests/platform/gtk/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/mac-leopard/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/mac-leopard/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/mac/svg/custom/baseval-animval-equality-expected.txt
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.txt
LayoutTests/platform/mac/svg/custom/dynamic-svg-document-creation-expected.txt
LayoutTests/platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt
LayoutTests/platform/mac/svg/custom/foreign-object-skew-expected.txt
LayoutTests/platform/mac/svg/custom/foreignObject-crash-on-hover-expected.txt
LayoutTests/platform/mac/svg/custom/getPresentationAttribute-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.txt
LayoutTests/platform/mac/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt
LayoutTests/platform/mac/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt
LayoutTests/platform/mac/svg/foreignObject/svg-document-as-direct-child-expected.txt
LayoutTests/platform/mac/svg/foreignObject/svg-document-in-html-document-expected.txt
LayoutTests/platform/mac/svg/foreignObject/text-tref-02-b-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/006-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/007-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/011-expected.txt
LayoutTests/platform/mac/svg/overflow/overflow-on-foreignObject-expected.txt
LayoutTests/platform/mac/svg/text/foreignObject-repaint-expected.txt
LayoutTests/platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt
LayoutTests/platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt
LayoutTests/platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/mac/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/mac/svg/zoom/text/zoom-foreignObject-expected.txt
LayoutTests/platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/mac/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/qt/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt
LayoutTests/platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt
LayoutTests/platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.txt
LayoutTests/platform/qt/svg/foreignObject/svg-document-in-html-document-expected.txt
LayoutTests/platform/qt/svg/foreignObject/text-tref-02-b-expected.txt
LayoutTests/platform/qt/svg/overflow/overflow-on-foreignObject-expected.txt
LayoutTests/platform/qt/svg/text/foreignObject-text-clipping-bug-expected.txt
LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt
LayoutTests/platform/qt/svg/zoom/page/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.txt
LayoutTests/platform/qt/svg/zoom/text/zoom-foreignObject-expected.txt
LayoutTests/platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.txt
LayoutTests/platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt
Source/WebCore/Android.mk
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.am
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.pro
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/rendering/RenderingAllInOne.cpp
Source/WebCore/rendering/svg/RenderSVGAllInOne.cpp
Source/WebCore/rendering/svg/RenderSVGBlock.cpp
Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp [moved from Source/WebCore/rendering/svg/RenderForeignObject.cpp with 81% similarity]
Source/WebCore/rendering/svg/RenderSVGForeignObject.h [moved from Source/WebCore/rendering/svg/RenderForeignObject.h with 89% similarity]
Source/WebCore/svg/SVGForeignObjectElement.cpp