WebCore:
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Jan 2008 20:06:33 +0000 (20:06 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Jan 2008 20:06:33 +0000 (20:06 +0000)
commitc8995fe9d130ef6eb84ac4d2ae3ef8b0161ee6f1
treea8c857463b93b203d959dcf4c066ac26e69ce325
parenta9340d4f0fbc0f728b1074a09b90bc129cd461e3
WebCore:

        Reviewed by Oliver.

        Disables SVG foreign object for <rdar://problem/5686989> turn off
        SVG foreignobject because it does not repaint/dirty correctly

        * DerivedSources.make:
        * WebCore.SVG.ForeignObject.exp: Added.
        * WebCore.SVG.exp:
        * bindings/js/JSSVGElementWrapperFactory.cpp:
        (WebCore::createJSSVGWrapper):
        * rendering/RenderForeignObject.cpp:
        * rendering/RenderForeignObject.h:
        * svg/SVGForeignObjectElement.cpp:
        * svg/SVGForeignObjectElement.h:
        * svg/SVGForeignObjectElement.idl:
        * svg/SVGLocatable.cpp:
        (WebCore::SVGLocatable::nearestViewportElement):
        (WebCore::SVGLocatable::farthestViewportElement):
        * svg/SVGUseElement.cpp:
        (WebCore::isDisallowedElement):
        * svg/svgtags.in:

WebKitTools:

        Reviewed by Oliver.

        Update build-webkit to account for foreign-object being disabled by
        default.

        * Scripts/build-webkit:

LayoutTests:

        Reviewed by Oliver.

        Changed test results from disabling SVG foreign object for <rdar://
        problem/5686989> turn off SVG foreignobject because it does not
        repaint/dirty correctly

        * platform/mac/svg/custom/baseval-animval-equality-expected.checksum: Replaced.
        * platform/mac/svg/custom/baseval-animval-equality-expected.png: Replaced.
        * platform/mac/svg/custom/baseval-animval-equality-expected.txt: Replaced.
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.checksum: Replaced.
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.png: Replaced.
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.txt: Replaced.
        * platform/mac/svg/custom/dynamic-svg-document-creation-expected.checksum: Replaced.
        * platform/mac/svg/custom/dynamic-svg-document-creation-expected.png: Replaced.
        * platform/mac/svg/custom/dynamic-svg-document-creation-expected.txt: Replaced.
        * platform/mac/svg/custom/fill-SVGPaint-interface-expected.checksum: Replaced.
        * platform/mac/svg/custom/fill-SVGPaint-interface-expected.png: Replaced.
        * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt: Replaced.
        * platform/mac/svg/custom/foreign-object-skew-expected.checksum: Replaced.
        * platform/mac/svg/custom/foreign-object-skew-expected.png: Replaced.
        * platform/mac/svg/custom/foreign-object-skew-expected.txt: Replaced.
        * platform/mac/svg/custom/foreignObject-crash-on-hover-expected.checksum: Replaced.
        * platform/mac/svg/custom/foreignObject-crash-on-hover-expected.png: Replaced.
        * platform/mac/svg/custom/foreignObject-crash-on-hover-expected.txt: Replaced.
        * platform/mac/svg/custom/getPresentationAttribute-expected.checksum: Replaced.
        * platform/mac/svg/custom/getPresentationAttribute-expected.png: Replaced.
        * platform/mac/svg/custom/getPresentationAttribute-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.txt: Replaced.
        * platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.checksum: Replaced.
        * platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.png: Replaced.
        * platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.txt: Replaced.
        * platform/mac/svg/hixie/mixed/006-expected.checksum: Replaced.
        * platform/mac/svg/hixie/mixed/006-expected.png: Replaced.
        * platform/mac/svg/hixie/mixed/006-expected.txt: Replaced.
        * platform/mac/svg/hixie/mixed/007-expected.checksum: Replaced.
        * platform/mac/svg/hixie/mixed/007-expected.png: Replaced.
        * platform/mac/svg/hixie/mixed/007-expected.txt: Replaced.
        * platform/mac/svg/hixie/mixed/008-expected.checksum: Replaced.
        * platform/mac/svg/hixie/mixed/008-expected.png: Replaced.
        * platform/mac/svg/hixie/mixed/008-expected.txt: Replaced.
        * platform/mac/svg/hixie/mixed/009-expected.checksum: Replaced.
        * platform/mac/svg/hixie/mixed/009-expected.png: Replaced.
        * platform/mac/svg/hixie/mixed/009-expected.txt: Replaced.
        * platform/mac/svg/hixie/mixed/011-expected.checksum: Replaced.
        * platform/mac/svg/hixie/mixed/011-expected.png: Replaced.
        * platform/mac/svg/hixie/mixed/011-expected.txt: Replaced.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
76 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/custom/baseval-animval-equality-expected.checksum
LayoutTests/platform/mac/svg/custom/baseval-animval-equality-expected.png
LayoutTests/platform/mac/svg/custom/baseval-animval-equality-expected.txt
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.checksum
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.png
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.txt
LayoutTests/platform/mac/svg/custom/dynamic-svg-document-creation-expected.checksum
LayoutTests/platform/mac/svg/custom/dynamic-svg-document-creation-expected.png
LayoutTests/platform/mac/svg/custom/dynamic-svg-document-creation-expected.txt
LayoutTests/platform/mac/svg/custom/fill-SVGPaint-interface-expected.checksum
LayoutTests/platform/mac/svg/custom/fill-SVGPaint-interface-expected.png
LayoutTests/platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt
LayoutTests/platform/mac/svg/custom/foreign-object-skew-expected.checksum
LayoutTests/platform/mac/svg/custom/foreign-object-skew-expected.png
LayoutTests/platform/mac/svg/custom/foreign-object-skew-expected.txt
LayoutTests/platform/mac/svg/custom/foreignObject-crash-on-hover-expected.checksum
LayoutTests/platform/mac/svg/custom/foreignObject-crash-on-hover-expected.png
LayoutTests/platform/mac/svg/custom/foreignObject-crash-on-hover-expected.txt
LayoutTests/platform/mac/svg/custom/getPresentationAttribute-expected.checksum
LayoutTests/platform/mac/svg/custom/getPresentationAttribute-expected.png
LayoutTests/platform/mac/svg/custom/getPresentationAttribute-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-1-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-2-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-3-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-4-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-5-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-disallowed-foreign-object-6-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png
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.checksum
LayoutTests/platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.png
LayoutTests/platform/mac/svg/custom/use-on-non-svg-namespaced-element-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/006-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/006-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/006-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/007-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/007-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/007-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.txt
LayoutTests/platform/mac/svg/hixie/mixed/011-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/011-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/011-expected.txt
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.SVG.ForeignObject.exp [new file with mode: 0644]
WebCore/WebCore.SVG.exp
WebCore/bindings/js/JSSVGElementWrapperFactory.cpp
WebCore/rendering/RenderForeignObject.cpp
WebCore/rendering/RenderForeignObject.h
WebCore/svg/SVGForeignObjectElement.cpp
WebCore/svg/SVGForeignObjectElement.h
WebCore/svg/SVGForeignObjectElement.idl
WebCore/svg/SVGLocatable.cpp
WebCore/svg/SVGUseElement.cpp
WebCore/svg/svgtags.in
WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit