Remove support for -webkit-svg-shadow
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Nov 2018 00:26:15 +0000 (00:26 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Nov 2018 00:26:15 +0000 (00:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=187429
Source/WebCore:

<rdar://problem/41920735>

Reviewed by Dean Jackson.

-webkit-svg-shadow was a non-standard hack for online iWork, and they no longer use it,
so remove it. No other browser supports it, and chromestatus say it's used on less than
0.000001% of pages.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyinStyle):
* css/CSSProperties.json:
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::svgPropertyValue):
* css/StyleBuilderCustom.h:
(WebCore::StyleBuilderCustom::applyInitialWebkitSvgShadow): Deleted.
(WebCore::StyleBuilderCustom::applyInheritWebkitSvgShadow): Deleted.
(WebCore::StyleBuilderCustom::applyValueWebkitSvgShadow): Deleted.
* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseSingleValue):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::didAttachChild):
* rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::layout):
* rendering/svg/RenderSVGImage.h:
* rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::RenderSVGModelObject):
* rendering/svg/RenderSVGModelObject.h:
(WebCore::RenderSVGModelObject::repaintRectInLocalCoordinatesExcludingSVGShadow const): Deleted.
(WebCore::RenderSVGModelObject::hasSVGShadow const): Deleted.
(WebCore::RenderSVGModelObject::setHasSVGShadow): Deleted.
* rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::RenderSVGRoot):
(WebCore::RenderSVGRoot::updateCachedBoundaries):
* rendering/svg/RenderSVGRoot.h:
* rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::updateRepaintBoundingBox):
* rendering/svg/RenderSVGShape.h:
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::clippedOverflowRectForRepaint):
(WebCore::SVGRenderSupport::layoutChildren):
(WebCore::SVGRenderSupport::styleChanged):
(WebCore::SVGRenderSupport::repaintRectForRendererInLocalCoordinatesExcludingSVGShadow): Deleted.
(WebCore::SVGRenderSupport::rendererHasSVGShadow): Deleted.
(WebCore::SVGRenderSupport::setRendererHasSVGShadow): Deleted.
(WebCore::SVGRenderSupport::intersectRepaintRectWithShadows): Deleted.
(WebCore::SVGRenderSupport::childAdded): Deleted.
* rendering/svg/SVGRenderSupport.h:

LayoutTests:

Reviewed by Dean Jackson.

-webkit-svg-shadow was a non-standard hack for online iWork, and they no longer use it,
so remove it. No other browser supports it, and chromestatus say it's used on less than
0.000001% of pages.

* css3/blending/svg-blend-layer-shadow.html: Removed.
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/getComputedStyle/resources/property-names.js:
* fast/repaint/moving-shadow-on-container-expected.png: Removed.
* fast/repaint/moving-shadow-on-container.html: Removed.
* fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* fast/repaint/moving-shadow-on-path.html: Removed.
* legacy-animation-engine/fast/css/getComputedStyle/resources/property-names.js:
* platform/gtk/TestExpectations:
* platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
* platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
* platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
* platform/gtk/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/gtk/svg/css/arrow-with-shadow-expected.png: Removed.
* platform/gtk/svg/css/composite-shadow-example-expected.png: Removed.
* platform/gtk/svg/css/composite-shadow-example-expected.txt: Removed.
* platform/gtk/svg/css/composite-shadow-text-expected.png: Removed.
* platform/gtk/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/gtk/svg/css/composite-shadow-with-opacity-expected.png: Removed.
* platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
* platform/gtk/svg/css/group-with-shadow-expected.png: Removed.
* platform/gtk/svg/css/shadow-changes-expected.png: Removed.
* platform/gtk/svg/css/shadow-changes-expected.txt: Removed.
* platform/gtk/svg/css/stars-with-shadow-expected.png: Removed.
* platform/gtk/svg/custom/simple-text-double-shadow-expected.txt: Removed.
* platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
* platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
* platform/gtk/svg/filters/shadow-on-filter-expected.png: Removed.
* platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
* platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
* platform/ios/TestExpectations:
* platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
* platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/ios/svg/css/composite-shadow-example-expected.txt: Removed.
* platform/ios/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/ios/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
* platform/ios/svg/css/getComputedStyle-basic-expected.txt:
* platform/ios/svg/css/group-with-shadow-expected.txt: Removed.
* platform/ios/svg/css/shadow-changes-expected.txt: Removed.
* platform/ios/svg/css/stars-with-shadow-expected.txt: Removed.
* platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
* platform/mac-sierra/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac-sierra/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac-sierra/svg/css/getComputedStyle-basic-expected.txt:
* platform/mac/TestExpectations:
* platform/mac/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
* platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
* platform/mac/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/mac/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* platform/mac/svg/css/arrow-with-shadow-expected.png: Removed.
* platform/mac/svg/css/circle-in-mask-with-shadow-expected.png: Removed.
* platform/mac/svg/css/clippath-with-shadow-expected.png: Removed.
* platform/mac/svg/css/composite-shadow-example-expected.png: Removed.
* platform/mac/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/mac/svg/css/composite-shadow-with-opacity-expected.png: Removed.
* platform/mac/svg/css/getComputedStyle-basic-expected.txt:
* platform/mac/svg/css/group-with-shadow-expected.png: Removed.
* platform/mac/svg/css/group-with-shadow-expected.txt: Removed.
* platform/mac/svg/css/mask-with-shadow-expected.png: Removed.
* platform/mac/svg/css/path-with-shadow-expected.png: Removed.
* platform/mac/svg/css/shadow-and-opacity-expected.png: Removed.
* platform/mac/svg/css/shadow-changes-expected.png: Removed.
* platform/mac/svg/css/shadow-changes-expected.txt: Removed.
* platform/mac/svg/css/shadow-with-large-radius-expected.png: Removed.
* platform/mac/svg/css/shadow-with-negative-offset-expected.png: Removed.
* platform/mac/svg/css/stars-with-shadow-expected.png: Removed.
* platform/mac/svg/css/stars-with-shadow-expected.txt: Removed.
* platform/mac/svg/custom/simple-text-double-shadow-expected.png: Removed.
* platform/mac/svg/custom/simple-text-double-shadow-expected.txt: Removed.
* platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
* platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
* platform/mac/svg/filters/shadow-on-filter-expected.png: Removed.
* platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
* platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
* platform/win/TestExpectations:
* platform/win/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
* platform/win/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
* platform/win/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* platform/win/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/win/svg/css/group-with-shadow-expected.txt: Removed.
* platform/win/svg/css/shadow-changes-expected.txt: Removed.
* platform/win/svg/custom/simple-text-double-shadow-expected.txt: Removed.
* platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
* platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/wincairo/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/wincairo/svg/css/shadow-changes-expected.txt: Removed.
* platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
* platform/wpe/svg/css/composite-shadow-text-expected.txt: Removed.
* platform/wpe/svg/css/shadow-changes-expected.txt: Removed.
* platform/wpe/svg/css/stars-with-shadow-expected.txt: Removed.
* platform/wpe/svg/custom/simple-text-double-shadow-expected.txt: Removed.
* platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
* svg/css/arrow-with-shadow-expected.txt: Removed.
* svg/css/arrow-with-shadow.svg: Removed.
* svg/css/circle-in-mask-with-shadow-expected.png: Removed.
* svg/css/circle-in-mask-with-shadow-expected.txt: Removed.
* svg/css/circle-in-mask-with-shadow.svg: Removed.
* svg/css/clippath-with-shadow-expected.png: Removed.
* svg/css/clippath-with-shadow-expected.txt: Removed.
* svg/css/clippath-with-shadow.svg: Removed.
* svg/css/composite-shadow-example-expected.txt: Removed.
* svg/css/composite-shadow-example.html: Removed.
* svg/css/composite-shadow-text-expected.png: Removed.
* svg/css/composite-shadow-text.svg: Removed.
* svg/css/composite-shadow-with-opacity-expected.txt: Removed.
* svg/css/composite-shadow-with-opacity.html: Removed.
* svg/css/getComputedStyle-basic-expected.txt:
* svg/css/group-with-shadow-expected.txt: Removed.
* svg/css/group-with-shadow.svg: Removed.
* svg/css/mask-with-shadow-expected.txt: Removed.
* svg/css/mask-with-shadow.svg: Removed.
* svg/css/parent-shadow-offscreen-expected.svg: Removed.
* svg/css/parent-shadow-offscreen.svg: Removed.
* svg/css/path-with-shadow-expected.png: Removed.
* svg/css/path-with-shadow-expected.txt: Removed.
* svg/css/path-with-shadow.svg: Removed.
* svg/css/root-shadow-offscreen-expected.svg: Removed.
* svg/css/root-shadow-offscreen.svg: Removed.
* svg/css/shadow-and-opacity-expected.txt: Removed.
* svg/css/shadow-and-opacity.svg: Removed.
* svg/css/shadow-changes.svg: Removed.
* svg/css/shadow-with-large-radius-expected.png: Removed.
* svg/css/shadow-with-large-radius-expected.txt: Removed.
* svg/css/shadow-with-large-radius.svg: Removed.
* svg/css/shadow-with-negative-offset-expected.png: Removed.
* svg/css/shadow-with-negative-offset-expected.txt: Removed.
* svg/css/shadow-with-negative-offset.svg: Removed.
* svg/css/stars-with-shadow-expected.txt: Removed.
* svg/css/stars-with-shadow.html: Removed.
* svg/custom/simple-text-double-shadow-expected.png: Removed.
* svg/custom/simple-text-double-shadow-expected.txt: Removed.
* svg/custom/simple-text-double-shadow.svg: Removed.
* svg/custom/transform-with-shadow-and-gradient.svg: Removed.
* svg/filters/shadow-on-filter-expected.txt: Removed.
* svg/filters/shadow-on-filter.svg: Removed.
* svg/filters/shadow-on-rect-with-filter-expected.txt: Removed.
* svg/filters/shadow-on-rect-with-filter.svg: Removed.
* svg/repaint/repaint-webkit-svg-shadow-container-expected.txt: Removed.
* svg/repaint/repaint-webkit-svg-shadow-container.html: Removed.
* svg/repaint/repaint-webkit-svg-shadow-expected.txt: Removed.
* svg/repaint/repaint-webkit-svg-shadow.svg: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

164 files changed:
LayoutTests/ChangeLog
LayoutTests/css3/blending/svg-blend-layer-shadow.html [deleted file]
LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
LayoutTests/fast/css/getComputedStyle/resources/property-names.js
LayoutTests/fast/repaint/moving-shadow-on-container-expected.png [deleted file]
LayoutTests/fast/repaint/moving-shadow-on-container.html [deleted file]
LayoutTests/fast/repaint/moving-shadow-on-path-expected.txt [deleted file]
LayoutTests/fast/repaint/moving-shadow-on-path.html [deleted file]
LayoutTests/legacy-animation-engine/fast/css/getComputedStyle/resources/property-names.js
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png [deleted file]
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-path-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/arrow-with-shadow-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/css/group-with-shadow-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/shadow-changes-expected.png [deleted file]
LayoutTests/platform/gtk/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/css/stars-with-shadow-expected.png [deleted file]
LayoutTests/platform/gtk/svg/custom/simple-text-double-shadow-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png [deleted file]
LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt [deleted file]
LayoutTests/platform/gtk/svg/filters/shadow-on-filter-expected.png [deleted file]
LayoutTests/platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png [deleted file]
LayoutTests/platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png [deleted file]
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt [deleted file]
LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt
LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
LayoutTests/platform/ios/svg/css/composite-shadow-example-expected.txt [deleted file]
LayoutTests/platform/ios/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/ios/svg/css/composite-shadow-with-opacity-expected.txt [deleted file]
LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt
LayoutTests/platform/ios/svg/css/group-with-shadow-expected.txt [deleted file]
LayoutTests/platform/ios/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/ios/svg/css/stars-with-shadow-expected.txt [deleted file]
LayoutTests/platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt [deleted file]
LayoutTests/platform/mac-sierra/fast/css/getComputedStyle/computed-style-expected.txt
LayoutTests/platform/mac-sierra/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
LayoutTests/platform/mac-sierra/svg/css/getComputedStyle-basic-expected.txt
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.png [deleted file]
LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt [deleted file]
LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-expected.txt
LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
LayoutTests/platform/mac/fast/repaint/moving-shadow-on-container-expected.txt [deleted file]
LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.txt [deleted file]
LayoutTests/platform/mac/svg/css/arrow-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/circle-in-mask-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/clippath-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/composite-shadow-example-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/mac/svg/css/composite-shadow-with-opacity-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/getComputedStyle-basic-expected.txt
LayoutTests/platform/mac/svg/css/group-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/group-with-shadow-expected.txt [deleted file]
LayoutTests/platform/mac/svg/css/mask-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/path-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/shadow-and-opacity-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/shadow-changes-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/mac/svg/css/shadow-with-large-radius-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/shadow-with-negative-offset-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.txt [deleted file]
LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.png [deleted file]
LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.txt [deleted file]
LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png [deleted file]
LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt [deleted file]
LayoutTests/platform/mac/svg/filters/shadow-on-filter-expected.png [deleted file]
LayoutTests/platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png [deleted file]
LayoutTests/platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png [deleted file]
LayoutTests/platform/win/TestExpectations
LayoutTests/platform/win/css3/blending/svg-blend-layer-shadow-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/moving-shadow-on-container-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/moving-shadow-on-path-expected.txt [deleted file]
LayoutTests/platform/win/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/win/svg/css/group-with-shadow-expected.txt [deleted file]
LayoutTests/platform/win/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/win/svg/custom/simple-text-double-shadow-expected.txt [deleted file]
LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt [deleted file]
LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png [deleted file]
LayoutTests/platform/wincairo/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/wincairo/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt [deleted file]
LayoutTests/platform/wpe/svg/css/composite-shadow-text-expected.txt [deleted file]
LayoutTests/platform/wpe/svg/css/shadow-changes-expected.txt [deleted file]
LayoutTests/platform/wpe/svg/css/stars-with-shadow-expected.txt [deleted file]
LayoutTests/platform/wpe/svg/custom/simple-text-double-shadow-expected.txt [deleted file]
LayoutTests/platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt [deleted file]
LayoutTests/svg/css/arrow-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/arrow-with-shadow.svg [deleted file]
LayoutTests/svg/css/circle-in-mask-with-shadow-expected.png [deleted file]
LayoutTests/svg/css/circle-in-mask-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/circle-in-mask-with-shadow.svg [deleted file]
LayoutTests/svg/css/clippath-with-shadow-expected.png [deleted file]
LayoutTests/svg/css/clippath-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/clippath-with-shadow.svg [deleted file]
LayoutTests/svg/css/composite-shadow-example-expected.txt [deleted file]
LayoutTests/svg/css/composite-shadow-example.html [deleted file]
LayoutTests/svg/css/composite-shadow-text-expected.png [deleted file]
LayoutTests/svg/css/composite-shadow-text.svg [deleted file]
LayoutTests/svg/css/composite-shadow-with-opacity-expected.txt [deleted file]
LayoutTests/svg/css/composite-shadow-with-opacity.html [deleted file]
LayoutTests/svg/css/getComputedStyle-basic-expected.txt
LayoutTests/svg/css/group-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/group-with-shadow.svg [deleted file]
LayoutTests/svg/css/mask-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/mask-with-shadow.svg [deleted file]
LayoutTests/svg/css/parent-shadow-offscreen-expected.svg [deleted file]
LayoutTests/svg/css/parent-shadow-offscreen.svg [deleted file]
LayoutTests/svg/css/path-with-shadow-expected.png [deleted file]
LayoutTests/svg/css/path-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/path-with-shadow.svg [deleted file]
LayoutTests/svg/css/root-shadow-offscreen-expected.svg [deleted file]
LayoutTests/svg/css/root-shadow-offscreen.svg [deleted file]
LayoutTests/svg/css/shadow-and-opacity-expected.txt [deleted file]
LayoutTests/svg/css/shadow-and-opacity.svg [deleted file]
LayoutTests/svg/css/shadow-changes.svg [deleted file]
LayoutTests/svg/css/shadow-with-large-radius-expected.png [deleted file]
LayoutTests/svg/css/shadow-with-large-radius-expected.txt [deleted file]
LayoutTests/svg/css/shadow-with-large-radius.svg [deleted file]
LayoutTests/svg/css/shadow-with-negative-offset-expected.png [deleted file]
LayoutTests/svg/css/shadow-with-negative-offset-expected.txt [deleted file]
LayoutTests/svg/css/shadow-with-negative-offset.svg [deleted file]
LayoutTests/svg/css/stars-with-shadow-expected.txt [deleted file]
LayoutTests/svg/css/stars-with-shadow.html [deleted file]
LayoutTests/svg/custom/simple-text-double-shadow-expected.png [deleted file]
LayoutTests/svg/custom/simple-text-double-shadow-expected.txt [deleted file]
LayoutTests/svg/custom/simple-text-double-shadow.svg [deleted file]
LayoutTests/svg/custom/transform-with-shadow-and-gradient.svg [deleted file]
LayoutTests/svg/filters/shadow-on-filter-expected.txt [deleted file]
LayoutTests/svg/filters/shadow-on-filter.svg [deleted file]
LayoutTests/svg/filters/shadow-on-rect-with-filter-expected.txt [deleted file]
LayoutTests/svg/filters/shadow-on-rect-with-filter.svg [deleted file]
LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container-expected.txt [deleted file]
LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container.html [deleted file]
LayoutTests/svg/repaint/repaint-webkit-svg-shadow-expected.txt [deleted file]
LayoutTests/svg/repaint/repaint-webkit-svg-shadow.svg [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/CSSProperties.json
Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp
Source/WebCore/css/StyleBuilderCustom.h
Source/WebCore/css/parser/CSSPropertyParser.cpp
Source/WebCore/rendering/RenderElement.cpp
Source/WebCore/rendering/svg/RenderSVGImage.cpp
Source/WebCore/rendering/svg/RenderSVGImage.h
Source/WebCore/rendering/svg/RenderSVGModelObject.cpp
Source/WebCore/rendering/svg/RenderSVGModelObject.h
Source/WebCore/rendering/svg/RenderSVGRoot.cpp
Source/WebCore/rendering/svg/RenderSVGRoot.h
Source/WebCore/rendering/svg/RenderSVGShape.cpp
Source/WebCore/rendering/svg/RenderSVGShape.h
Source/WebCore/rendering/svg/SVGRenderSupport.cpp
Source/WebCore/rendering/svg/SVGRenderSupport.h

index 9294011..4f8d17a 100644 (file)
@@ -1,3 +1,161 @@
+2018-11-10  Simon Fraser  <simon.fraser@apple.com>
+
+        Remove support for -webkit-svg-shadow
+        https://bugs.webkit.org/show_bug.cgi?id=187429
+
+        Reviewed by Dean Jackson.
+
+        -webkit-svg-shadow was a non-standard hack for online iWork, and they no longer use it,
+        so remove it. No other browser supports it, and chromestatus say it's used on less than
+        0.000001% of pages.
+
+        * css3/blending/svg-blend-layer-shadow.html: Removed.
+        * fast/css/getComputedStyle/computed-style-expected.txt:
+        * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * fast/css/getComputedStyle/resources/property-names.js:
+        * fast/repaint/moving-shadow-on-container-expected.png: Removed.
+        * fast/repaint/moving-shadow-on-container.html: Removed.
+        * fast/repaint/moving-shadow-on-path-expected.txt: Removed.
+        * fast/repaint/moving-shadow-on-path.html: Removed.
+        * legacy-animation-engine/fast/css/getComputedStyle/resources/property-names.js:
+        * platform/gtk/TestExpectations:
+        * platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
+        * platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
+        * platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
+        * platform/gtk/fast/repaint/moving-shadow-on-path-expected.png: Removed.
+        * platform/gtk/svg/css/arrow-with-shadow-expected.png: Removed.
+        * platform/gtk/svg/css/composite-shadow-example-expected.png: Removed.
+        * platform/gtk/svg/css/composite-shadow-example-expected.txt: Removed.
+        * platform/gtk/svg/css/composite-shadow-text-expected.png: Removed.
+        * platform/gtk/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/gtk/svg/css/composite-shadow-with-opacity-expected.png: Removed.
+        * platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
+        * platform/gtk/svg/css/group-with-shadow-expected.png: Removed.
+        * platform/gtk/svg/css/shadow-changes-expected.png: Removed.
+        * platform/gtk/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/gtk/svg/css/stars-with-shadow-expected.png: Removed.
+        * platform/gtk/svg/custom/simple-text-double-shadow-expected.txt: Removed.
+        * platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
+        * platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
+        * platform/gtk/svg/filters/shadow-on-filter-expected.png: Removed.
+        * platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
+        * platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
+        * platform/ios/TestExpectations:
+        * platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
+        * platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
+        * platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/ios/svg/css/composite-shadow-example-expected.txt: Removed.
+        * platform/ios/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/ios/svg/css/composite-shadow-with-opacity-expected.txt: Removed.
+        * platform/ios/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/ios/svg/css/group-with-shadow-expected.txt: Removed.
+        * platform/ios/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/ios/svg/css/stars-with-shadow-expected.txt: Removed.
+        * platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
+        * platform/mac-sierra/fast/css/getComputedStyle/computed-style-expected.txt:
+        * platform/mac-sierra/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/mac-sierra/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/mac/TestExpectations:
+        * platform/mac/css3/blending/svg-blend-layer-shadow-expected.png: Removed.
+        * platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
+        * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
+        * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/mac/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
+        * platform/mac/fast/repaint/moving-shadow-on-path-expected.png: Removed.
+        * platform/mac/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
+        * platform/mac/svg/css/arrow-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/circle-in-mask-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/clippath-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/composite-shadow-example-expected.png: Removed.
+        * platform/mac/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/mac/svg/css/composite-shadow-with-opacity-expected.png: Removed.
+        * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/mac/svg/css/group-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/group-with-shadow-expected.txt: Removed.
+        * platform/mac/svg/css/mask-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/path-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/shadow-and-opacity-expected.png: Removed.
+        * platform/mac/svg/css/shadow-changes-expected.png: Removed.
+        * platform/mac/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/mac/svg/css/shadow-with-large-radius-expected.png: Removed.
+        * platform/mac/svg/css/shadow-with-negative-offset-expected.png: Removed.
+        * platform/mac/svg/css/stars-with-shadow-expected.png: Removed.
+        * platform/mac/svg/css/stars-with-shadow-expected.txt: Removed.
+        * platform/mac/svg/custom/simple-text-double-shadow-expected.png: Removed.
+        * platform/mac/svg/custom/simple-text-double-shadow-expected.txt: Removed.
+        * platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png: Removed.
+        * platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
+        * platform/mac/svg/filters/shadow-on-filter-expected.png: Removed.
+        * platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png: Removed.
+        * platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png: Removed.
+        * platform/win/TestExpectations:
+        * platform/win/css3/blending/svg-blend-layer-shadow-expected.txt: Removed.
+        * platform/win/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
+        * platform/win/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
+        * platform/win/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/win/svg/css/group-with-shadow-expected.txt: Removed.
+        * platform/win/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/win/svg/custom/simple-text-double-shadow-expected.txt: Removed.
+        * platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt: Removed.
+        * platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png: Removed.
+        * platform/wincairo/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/wincairo/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
+        * platform/wpe/svg/css/composite-shadow-text-expected.txt: Removed.
+        * platform/wpe/svg/css/shadow-changes-expected.txt: Removed.
+        * platform/wpe/svg/css/stars-with-shadow-expected.txt: Removed.
+        * platform/wpe/svg/custom/simple-text-double-shadow-expected.txt: Removed.
+        * platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt: Removed.
+        * svg/css/arrow-with-shadow-expected.txt: Removed.
+        * svg/css/arrow-with-shadow.svg: Removed.
+        * svg/css/circle-in-mask-with-shadow-expected.png: Removed.
+        * svg/css/circle-in-mask-with-shadow-expected.txt: Removed.
+        * svg/css/circle-in-mask-with-shadow.svg: Removed.
+        * svg/css/clippath-with-shadow-expected.png: Removed.
+        * svg/css/clippath-with-shadow-expected.txt: Removed.
+        * svg/css/clippath-with-shadow.svg: Removed.
+        * svg/css/composite-shadow-example-expected.txt: Removed.
+        * svg/css/composite-shadow-example.html: Removed.
+        * svg/css/composite-shadow-text-expected.png: Removed.
+        * svg/css/composite-shadow-text.svg: Removed.
+        * svg/css/composite-shadow-with-opacity-expected.txt: Removed.
+        * svg/css/composite-shadow-with-opacity.html: Removed.
+        * svg/css/getComputedStyle-basic-expected.txt:
+        * svg/css/group-with-shadow-expected.txt: Removed.
+        * svg/css/group-with-shadow.svg: Removed.
+        * svg/css/mask-with-shadow-expected.txt: Removed.
+        * svg/css/mask-with-shadow.svg: Removed.
+        * svg/css/parent-shadow-offscreen-expected.svg: Removed.
+        * svg/css/parent-shadow-offscreen.svg: Removed.
+        * svg/css/path-with-shadow-expected.png: Removed.
+        * svg/css/path-with-shadow-expected.txt: Removed.
+        * svg/css/path-with-shadow.svg: Removed.
+        * svg/css/root-shadow-offscreen-expected.svg: Removed.
+        * svg/css/root-shadow-offscreen.svg: Removed.
+        * svg/css/shadow-and-opacity-expected.txt: Removed.
+        * svg/css/shadow-and-opacity.svg: Removed.
+        * svg/css/shadow-changes.svg: Removed.
+        * svg/css/shadow-with-large-radius-expected.png: Removed.
+        * svg/css/shadow-with-large-radius-expected.txt: Removed.
+        * svg/css/shadow-with-large-radius.svg: Removed.
+        * svg/css/shadow-with-negative-offset-expected.png: Removed.
+        * svg/css/shadow-with-negative-offset-expected.txt: Removed.
+        * svg/css/shadow-with-negative-offset.svg: Removed.
+        * svg/css/stars-with-shadow-expected.txt: Removed.
+        * svg/css/stars-with-shadow.html: Removed.
+        * svg/custom/simple-text-double-shadow-expected.png: Removed.
+        * svg/custom/simple-text-double-shadow-expected.txt: Removed.
+        * svg/custom/simple-text-double-shadow.svg: Removed.
+        * svg/custom/transform-with-shadow-and-gradient.svg: Removed.
+        * svg/filters/shadow-on-filter-expected.txt: Removed.
+        * svg/filters/shadow-on-filter.svg: Removed.
+        * svg/filters/shadow-on-rect-with-filter-expected.txt: Removed.
+        * svg/filters/shadow-on-rect-with-filter.svg: Removed.
+        * svg/repaint/repaint-webkit-svg-shadow-container-expected.txt: Removed.
+        * svg/repaint/repaint-webkit-svg-shadow-container.html: Removed.
+        * svg/repaint/repaint-webkit-svg-shadow-expected.txt: Removed.
+        * svg/repaint/repaint-webkit-svg-shadow.svg: Removed.
+
 2018-11-10  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r238065.
diff --git a/LayoutTests/css3/blending/svg-blend-layer-shadow.html b/LayoutTests/css3/blending/svg-blend-layer-shadow.html
deleted file mode 100644 (file)
index 63657f6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<body>
-<p>Test for isolation caused by a webkit-svg-shadow. This test passes if the whole rectangle is green.</p>
-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" >
-
-<g transform="scale(4 4)">
-  <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/>
-  <g style="-webkit-svg-shadow:0px 0px 1px rgba(0,0,0,0);">
-    <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
-  </g>
-</g>
-</svg>
-</body>
-</html>
index f7efb40..b2a303e 100644 (file)
@@ -271,7 +271,6 @@ text-anchor: start;
 writing-mode: horizontal-tb;
 glyph-orientation-horizontal: 0deg;
 glyph-orientation-vertical: auto;
--webkit-svg-shadow: none;
 vector-effect: none;
 
 Other attributes that the computed style class supports:
index 55812ff..d38198a 100644 (file)
@@ -270,7 +270,6 @@ text-anchor: start
 writing-mode: horizontal-tb
 glyph-orientation-horizontal: 0deg
 glyph-orientation-vertical: auto
--webkit-svg-shadow: none
 vector-effect: none
 background-position-x: 0%
 background-position-y: 0%
index 95dec19..2b5070f 100644 (file)
@@ -105,7 +105,6 @@ var propertiesToTest = {
     "perspective-origin": true,
     "-webkit-print-color-adjust": true,
     "-webkit-rtl-ordering": true,
-    "-webkit-svg-shadow": true,
     "-webkit-text-combine": true,
     "-webkit-text-decorations-in-effect": true,
     "-webkit-text-emphasis-color": true,
diff --git a/LayoutTests/fast/repaint/moving-shadow-on-container-expected.png b/LayoutTests/fast/repaint/moving-shadow-on-container-expected.png
deleted file mode 100644 (file)
index 10af06c..0000000
Binary files a/LayoutTests/fast/repaint/moving-shadow-on-container-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/repaint/moving-shadow-on-container.html b/LayoutTests/fast/repaint/moving-shadow-on-container.html
deleted file mode 100644 (file)
index 11404c3..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<html>
-<head>
-<script src="resources/repaint.js"></script>
-<script language="javascript">
-<!--
-
-SVG_NS = 'http://www.w3.org/2000/svg';
-
-function repaintTest() {
-    var star = document.getElementById("first-star");
-    setCenterPosition(star, 0, 0);
-}
-
-function pathFromStar (radius, innerRadius, sides) {
-    var path = [];
-    for (var i = 0; i < sides * 2; ++i) {
-        var theta = Math.PI * i / sides + (Math.PI / 2);
-        var r = (i % 2) ? radius : innerRadius;
-        var x = r * Math.cos(theta);
-        var y = r * Math.sin(theta);
-        path.push((i ? 'L' : 'M'), x, y);
-    }
-    path.push('Z');
-    return path.join(' ');
-}
-
-function newSvgElement (tagName, parentNode, attrs) {
-    var node = document.createElementNS(SVG_NS, tagName);
-    if (attrs) {
-        for (var k in attrs) {
-            node.setAttribute(k, attrs[k]);
-        }
-    }
-    if (parentNode) {
-        parentNode.appendChild(node);
-    }
-    return node;
-}
-
-function setCenterPosition (node, x, y) {
-    node.setAttribute('transform', 'translate($1, $2)'
-        .replace('$1', x)
-        .replace('$2', y));
-}
-
-var armed = null;
-
-window.addEventListener('load', function () {
-
-    var svgContainer = newSvgElement('svg', document.body);
-    svgContainer.setAttribute('width','100%');
-    svgContainer.setAttribute('height','100%');    
-    var shapes = [
-        { pos: [ 100, 100 ], size: 60, hasStroke: false },
-        { pos: [ 250, 100 ], size: 60, hasStroke: true },
-        { pos: [ 400, 100 ], size: 50, hasStroke: true }
-    ];
-    svgContainer.style.WebkitSvgShadow = '5px 5px 5px red';
-    for (var i = 0; i < shapes.length; ++i) {
-        var shape = shapes[i];
-        var node = newSvgElement('path', svgContainer, {
-            d: pathFromStar(shape.size, shape.size / 2, 5),
-            fill: '#999',
-            stroke: 'black',
-            'stroke-width': 10,
-        });
-        if (i == 0)
-            node.id = "first-star";
-        setCenterPosition(node, shape.pos[0], shape.pos[1]);
-        if (shapes[i].hasStroke) {
-            node.setAttribute('stroke-dasharray', 20);
-        }
-        node.addEventListener('mousedown', function (ev) {
-            var e = ev || event;
-            armed = { node: e.target || e.srcElement };
-        });
-        node.addEventListener('mouseup', function () {
-            armed = null;
-        });
-    }
-    window.addEventListener('mousemove', function (ev) {
-        if (armed) {
-            var e = ev || event;
-            setCenterPosition(armed.node, e.clientX, e.clientY);
-        }
-    });
-});
-
-//-->
-</script>
-</head>
-<body onload="runRepaintTest();">
-
-</body>
-</html>
diff --git a/LayoutTests/fast/repaint/moving-shadow-on-path-expected.txt b/LayoutTests/fast/repaint/moving-shadow-on-path-expected.txt
deleted file mode 100644 (file)
index 3dcbb48..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 458x163
-        RenderSVGPath {path} at (8,8) size 88x78 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (200,46) size 138x135 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (349,46) size 127x132 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/fast/repaint/moving-shadow-on-path.html b/LayoutTests/fast/repaint/moving-shadow-on-path.html
deleted file mode 100644 (file)
index e6061c6..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<html>
-<head>
-<script src="resources/repaint.js"></script>
-<script language="javascript">
-<!--
-
-SVG_NS = 'http://www.w3.org/2000/svg';
-
-function repaintTest() {
-    var star = document.getElementById("first-star");
-    setCenterPosition(star, 0, 0);
-}
-
-function pathFromStar (radius, innerRadius, sides) {
-    var path = [];
-    for (var i = 0; i < sides * 2; ++i) {
-        var theta = Math.PI * i / sides + (Math.PI / 2);
-        var r = (i % 2) ? radius : innerRadius;
-        var x = r * Math.cos(theta);
-        var y = r * Math.sin(theta);
-        path.push((i ? 'L' : 'M'), x, y);
-    }
-    path.push('Z');
-    return path.join(' ');
-}
-
-function newSvgElement (tagName, parentNode, attrs) {
-    var node = document.createElementNS(SVG_NS, tagName);
-    if (attrs) {
-        for (var k in attrs) {
-            node.setAttribute(k, attrs[k]);
-        }
-    }
-    if (parentNode) {
-        parentNode.appendChild(node);
-    }
-    return node;
-}
-
-function setCenterPosition (node, x, y) {
-    node.setAttribute('transform', 'translate($1, $2)'
-        .replace('$1', x)
-        .replace('$2', y));
-}
-
-var armed = null;
-
-window.addEventListener('load', function () {
-
-    var svgContainer = newSvgElement('svg', document.body);
-    svgContainer.setAttribute('width','100%');
-    svgContainer.setAttribute('height','100%'); 
-    var shapes = [
-        { pos: [ 100, 100 ], size: 60, hasStroke: false },
-        { pos: [ 250, 100 ], size: 60, hasStroke: true },
-        { pos: [ 400, 100 ], size: 50, hasStroke: true }
-    ];
-    for (var i = 0; i < shapes.length; ++i) {
-        var shape = shapes[i];
-        var node = newSvgElement('path', svgContainer, {
-            d: pathFromStar(shape.size, shape.size / 2, 5),
-            fill: '#999',
-            stroke: 'black',
-            'stroke-width': 10,
-        });
-        node.style.WebkitSvgShadow = '5px 5px 5px red';
-        if (i == 0)
-            node.id = "first-star";
-        setCenterPosition(node, shape.pos[0], shape.pos[1]);
-        if (shapes[i].hasStroke) {
-            node.setAttribute('stroke-dasharray', 20);
-        }
-        node.addEventListener('mousedown', function (ev) {
-            var e = ev || event;
-            armed = { node: e.target || e.srcElement };
-        });
-        node.addEventListener('mouseup', function () {
-            armed = null;
-        });
-    }
-    window.addEventListener('mousemove', function (ev) {
-        if (armed) {
-            var e = ev || event;
-            setCenterPosition(armed.node, e.clientX, e.clientY);
-        }
-    });
-});
-
-//-->
-</script>
-</head>
-<body onload="runRepaintTest();">
-
-</body>
-</html>
index 95dec19..2b5070f 100644 (file)
@@ -105,7 +105,6 @@ var propertiesToTest = {
     "perspective-origin": true,
     "-webkit-print-color-adjust": true,
     "-webkit-rtl-ordering": true,
-    "-webkit-svg-shadow": true,
     "-webkit-text-combine": true,
     "-webkit-text-decorations-in-effect": true,
     "-webkit-text-emphasis-color": true,
index 6032955..3186f95 100644 (file)
@@ -2404,13 +2404,8 @@ webkit.org/b/191009 webrtc/video-mute-vp8.html [ Failure ]
 #////////////////////////////////////////////////////////////////////////////////////////
 
 # Fail on 32-bit release builders
-webkit.org/b/84857 fast/repaint/moving-shadow-on-container.html [ Failure Pass ]
-webkit.org/b/84857 fast/repaint/moving-shadow-on-path.html [ Failure Pass ]
 webkit.org/b/80210 security/block-test.html [ Failure Pass ]
 webkit.org/b/62204 svg/W3C-SVG-1.1/paths-data-03-f.svg [ Failure Pass ]
-Bug(GTK) svg/css/composite-shadow-example.html [ Failure Pass ]
-Bug(GTK) svg/css/composite-shadow-with-opacity.html [ Failure Pass ]
-Bug(GTK) svg/css/stars-with-shadow.html [ Failure Pass ]
 
 # Fails on 64-bit release and debug builders
 webkit.org/b/89099 svg/transforms/transformed-text-fill-pattern.html [ ImageOnlyFailure Pass ]
diff --git a/LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png b/LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png
deleted file mode 100644 (file)
index e914e26..0000000
Binary files a/LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt b/LayoutTests/platform/gtk/css3/blending/svg-blend-layer-shadow-expected.txt
deleted file mode 100644 (file)
index 59a61c6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x462
-  RenderBlock {HTML} at (0,0) size 800x462
-    RenderBody {BODY} at (8,16) size 784x438
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 614x17
-          text run at (0,0) width 614: "Test for isolation caused by a webkit-svg-shadow. This test passes if the whole rectangle is green."
-      RenderBlock (anonymous) at (0,34) size 784x404
-        RenderSVGRoot {svg} at (8,50) size 160x160
-          RenderSVGContainer {g} at (8,50) size 160x160 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}]
-            RenderSVGRect {rect} at (8,50) size 160x160 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
-            RenderSVGContainer {g} at (24,66) size 128x128
-              RenderSVGRect {rect} at (40,82) size 96x96 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
-        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt b/LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-container-expected.txt
deleted file mode 100644 (file)
index 9c5a552..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 468x173
-        RenderSVGPath {path} at (8,8) size 78x68 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (200,46) size 128x125 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (349,46) size 117x122 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-path-expected.png b/LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-path-expected.png
deleted file mode 100644 (file)
index 985ae26..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/moving-shadow-on-path-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/arrow-with-shadow-expected.png b/LayoutTests/platform/gtk/svg/css/arrow-with-shadow-expected.png
deleted file mode 100644 (file)
index 84bab55..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/arrow-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.png b/LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.png
deleted file mode 100644 (file)
index de8990d..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.txt b/LayoutTests/platform/gtk/svg/css/composite-shadow-example-expected.txt
deleted file mode 100644 (file)
index 5281f1f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (40,36) size 456x170
-        RenderSVGContainer {g} at (40,36) size 156x150
-          RenderSVGPath {path} at (40,36) size 146x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (200,46) size 138x135
-          RenderSVGPath {path} at (200,46) size 128x125 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (349,46) size 127x132
-          RenderSVGPath {path} at (349,46) size 117x122 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.png b/LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.png
deleted file mode 100644 (file)
index bf1634f..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/gtk/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index 8c2970e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,9) size 361x445
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,9) size 249x428
-      RenderSVGText {text} at (10,10) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,135) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,260) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.00: "Test"
-    RenderSVGText {text} at (30,435) size 340x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 340x18
-        chunk 1 (middle anchor) text run 1 at (30.00,450.00) startOffset 0 endOffset 51 width 340.00: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.png b/LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.png
deleted file mode 100644 (file)
index 0de067f..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt b/LayoutTests/platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt
deleted file mode 100644 (file)
index 6bacd32..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-layer at (8,8) size 769x600
-  RenderSVGRoot {svg} at (40,36) size 456x170 [opacity=0.50]
-    RenderSVGContainer {g} at (40,36) size 156x150
-      RenderSVGPath {path} at (40,36) size 146x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (200,46) size 138x135
-      RenderSVGPath {path} at (200,46) size 128x125 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (349,46) size 127x132
-      RenderSVGPath {path} at (349,46) size 117x122 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/gtk/svg/css/group-with-shadow-expected.png b/LayoutTests/platform/gtk/svg/css/group-with-shadow-expected.png
deleted file mode 100644 (file)
index 80fd6f1..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/group-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/shadow-changes-expected.png b/LayoutTests/platform/gtk/svg/css/shadow-changes-expected.png
deleted file mode 100644 (file)
index 45afe9c..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/shadow-changes-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/gtk/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index fc40794..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (132,2) size 329x288
-    RenderSVGContainer {g} at (96,0) size 365x290
-      RenderSVGRect {rect} at (132,2) size 218x218 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (202,72) size 218x218 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,37) size 191x104 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 191x103
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 191.00: "SVG"
diff --git a/LayoutTests/platform/gtk/svg/css/stars-with-shadow-expected.png b/LayoutTests/platform/gtk/svg/css/stars-with-shadow-expected.png
deleted file mode 100644 (file)
index 850bf7c..0000000
Binary files a/LayoutTests/platform/gtk/svg/css/stars-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/custom/simple-text-double-shadow-expected.txt b/LayoutTests/platform/gtk/svg/custom/simple-text-double-shadow-expected.txt
deleted file mode 100644 (file)
index cacf3f2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,25) size 380x195
-    RenderSVGText {text} at (20,25) size 217x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 217x18
-        chunk 1 text run 1 at (20.00,40.00) startOffset 0 endOffset 34 width 217.00: "This text should appear only twice"
-    RenderSVGRect {rect} at (100,100) size 250x70 [fill={[type=SOLID] [color=#0000FF]}] [x=100.00] [y=100.00] [width=200.00] [height=20.00]
diff --git a/LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png b/LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png
deleted file mode 100644 (file)
index c937d31..0000000
Binary files a/LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt b/LayoutTests/platform/gtk/svg/custom/transform-with-shadow-and-gradient-expected.txt
deleted file mode 100644 (file)
index 47f17ed..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (14,0) size 578x592
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
-    RenderSVGEllipse {circle} at (12,12) size 192x192 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [cx=25.00] [cy=25.00] [r=20.00]
-    RenderSVGRect {rect} at (256,0) size 416x368 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=10.00] [y=0.50] [width=5.00] [height=5.00]
-    RenderSVGEllipse {circle} at (10,310) size 196x196 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [cx=25.00] [cy=100.00] [r=20.00]
-    RenderSVGRect {rect} at (240,240) size 448x360 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [x=10.00] [y=10.00] [width=5.00] [height=5.00]
diff --git a/LayoutTests/platform/gtk/svg/filters/shadow-on-filter-expected.png b/LayoutTests/platform/gtk/svg/filters/shadow-on-filter-expected.png
deleted file mode 100644 (file)
index 0947f7b..0000000
Binary files a/LayoutTests/platform/gtk/svg/filters/shadow-on-filter-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png b/LayoutTests/platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png
deleted file mode 100644 (file)
index 4146136..0000000
Binary files a/LayoutTests/platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png b/LayoutTests/platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png
deleted file mode 100644 (file)
index 1cd0c90..0000000
Binary files a/LayoutTests/platform/gtk/svg/repaint/repaint-webkit-svg-shadow-expected.png and /dev/null differ
index 991ba0a..0a7d9ca 100644 (file)
@@ -1138,7 +1138,6 @@ svg/clip-path/clip-path-line-use-before-defined.svg [ ImageOnlyFailure ]
 
 # SVG
 webkit.org/b/137574 svg/dom/SVGAnimatedAngle.html [ Skip ] # Pass, Crash
-webkit.org/b/137574 svg/css/arrow-with-shadow.svg [ Skip ] # Pass, Crash
 
 # Canvas tests that fail:
 webkit.org/b/137530 canvas/philip/tests/2d.composite.operation.clear.html [ Failure ]
@@ -1459,7 +1458,6 @@ svg/carto.net/textbox.svg [ Failure ]
 svg/carto.net/window.svg [ Failure ]
 svg/custom/altglyph.svg [ Failure ]
 svg/custom/getscreenctm-in-mixed-content2.xhtml [ Failure ]
-svg/custom/simple-text-double-shadow.svg [ Failure ]
 svg/custom/svg-fonts-in-text-controls.html [ Failure ]
 svg/custom/zero-path-square-cap-rendering.svg [ Failure ]
 svg/filters/feDisplacementMap-filterUnits.svg [ ImageOnlyFailure ]
diff --git a/LayoutTests/platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt b/LayoutTests/platform/ios/css3/blending/svg-blend-layer-shadow-expected.txt
deleted file mode 100644 (file)
index 8c2b0c9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x465
-  RenderBlock {HTML} at (0,0) size 800x465
-    RenderBody {BODY} at (8,16) size 784x441
-      RenderBlock {P} at (0,0) size 784x20
-        RenderText {#text} at (0,0) size 624x19
-          text run at (0,0) width 624: "Test for isolation caused by a webkit-svg-shadow. This test passes if the whole rectangle is green."
-      RenderBlock (anonymous) at (0,36) size 784x405
-        RenderSVGRoot {svg} at (8,52) size 160x160
-          RenderSVGContainer {g} at (8,52) size 160x160 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}]
-            RenderSVGRect {rect} at (8,52) size 160x160 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
-            RenderSVGContainer {g} at (24,68) size 128x128
-              RenderSVGRect {rect} at (40,84) size 96x96 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
-        RenderText {#text} at (0,0) size 0x0
index f0a8634..0e11d94 100644 (file)
@@ -272,7 +272,6 @@ text-anchor: start;
 writing-mode: horizontal-tb;
 glyph-orientation-horizontal: 0deg;
 glyph-orientation-vertical: auto;
--webkit-svg-shadow: none;
 vector-effect: none;
 
 Other attributes that the computed style class supports:
index 2f1089d..fb6931a 100644 (file)
@@ -271,7 +271,6 @@ text-anchor: start
 writing-mode: horizontal-tb
 glyph-orientation-horizontal: 0deg
 glyph-orientation-vertical: auto
--webkit-svg-shadow: none
 vector-effect: none
 background-position-x: 0%
 background-position-y: 0%
diff --git a/LayoutTests/platform/ios/svg/css/composite-shadow-example-expected.txt b/LayoutTests/platform/ios/svg/css/composite-shadow-example-expected.txt
deleted file mode 100644 (file)
index 041a267..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x616
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x616
-  RenderBlock {HTML} at (0,0) size 800x616
-    RenderBody {BODY} at (8,8) size 784x600
-      RenderSVGRoot {svg} at (36,32) size 444x158
-        RenderSVGContainer {g} at (36,32) size 164x158
-          RenderSVGPath {path} at (38,34) size 150x144 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (196,42) size 146x143
-          RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (345,42) size 135x140
-          RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/ios/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/ios/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index b1facee..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,9) size 363x445
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,9) size 250x428
-      RenderSVGText {text} at (10,10) size 184x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x112
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.30: "Test"
-      RenderSVGText {text} at (10,135) size 184x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x112
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.30: "Test"
-      RenderSVGText {text} at (10,260) size 184x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x112
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.30: "Test"
-    RenderSVGText {text} at (28,435) size 344x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 344x18
-        chunk 1 (middle anchor) text run 1 at (28.48,450.00) startOffset 0 endOffset 51 width 343.03: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/ios/svg/css/composite-shadow-with-opacity-expected.txt b/LayoutTests/platform/ios/svg/css/composite-shadow-with-opacity-expected.txt
deleted file mode 100644 (file)
index a03e257..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 800x616
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x616
-  RenderBlock {HTML} at (0,0) size 800x616
-    RenderBody {BODY} at (8,8) size 784x600
-layer at (8,8) size 784x600
-  RenderSVGRoot {svg} at (36,32) size 444x158 [opacity=0.50]
-    RenderSVGContainer {g} at (36,32) size 164x158
-      RenderSVGPath {path} at (38,34) size 150x144 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (196,42) size 146x143
-      RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (345,42) size 135x140
-      RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
index b6eef8f..5b6a798 100644 (file)
@@ -542,8 +542,6 @@ rect: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 rect: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(glyph-orientation-vertical) : auto
 rect: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-svg-shadow) : none
-rect: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(vector-effect) : none
 rect: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(background-attachment) : scroll
@@ -1090,8 +1088,6 @@ g: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 g: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(glyph-orientation-vertical) : auto
 g: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-svg-shadow) : none
-g: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(vector-effect) : none
 g: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 
diff --git a/LayoutTests/platform/ios/svg/css/group-with-shadow-expected.txt b/LayoutTests/platform/ios/svg/css/group-with-shadow-expected.txt
deleted file mode 100644 (file)
index 7efa62f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (25,25) size 300x291
-    RenderSVGContainer {g} at (11,11) size 394x385 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-      RenderSVGPath {line} at (26,25) size 298x50 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=10.00] [x2=85.00] [y2=10.00]
-      RenderSVGRect {rect} at (25,58) size 300x217 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#800080]}] [x=10.00] [y=20.00] [width=75.00] [height=50.00]
-      RenderSVGText {text} at (10,75) size 78x19 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 78x18
-          chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 12 width 77.09: "Hello there!"
diff --git a/LayoutTests/platform/ios/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/ios/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index 2595f41..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (132,2) size 331x288
-    RenderSVGContainer {g} at (96,0) size 367x290
-      RenderSVGRect {rect} at (132,2) size 218x218 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (202,72) size 218x218 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,36) size 193x105 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 193x104
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 192.25: "SVG"
diff --git a/LayoutTests/platform/ios/svg/css/stars-with-shadow-expected.txt b/LayoutTests/platform/ios/svg/css/stars-with-shadow-expected.txt
deleted file mode 100644 (file)
index 9f8210e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 800x616
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x616
-  RenderBlock {HTML} at (0,0) size 800x616
-    RenderBody {BODY} at (8,8) size 784x600
-      RenderSVGRoot {svg} at (38,34) size 441x144
-        RenderSVGPath {path} at (36,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (186,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (345,42) size 146x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt b/LayoutTests/platform/ios/svg/custom/transform-with-shadow-and-gradient-expected.txt
deleted file mode 100644 (file)
index 47f17ed..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (14,0) size 578x592
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
-    RenderSVGEllipse {circle} at (12,12) size 192x192 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [cx=25.00] [cy=25.00] [r=20.00]
-    RenderSVGRect {rect} at (256,0) size 416x368 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=10.00] [y=0.50] [width=5.00] [height=5.00]
-    RenderSVGEllipse {circle} at (10,310) size 196x196 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [cx=25.00] [cy=100.00] [r=20.00]
-    RenderSVGRect {rect} at (240,240) size 448x360 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [x=10.00] [y=10.00] [width=5.00] [height=5.00]
index f7efb40..b2a303e 100644 (file)
@@ -271,7 +271,6 @@ text-anchor: start;
 writing-mode: horizontal-tb;
 glyph-orientation-horizontal: 0deg;
 glyph-orientation-vertical: auto;
--webkit-svg-shadow: none;
 vector-effect: none;
 
 Other attributes that the computed style class supports:
index 55812ff..d38198a 100644 (file)
@@ -270,7 +270,6 @@ text-anchor: start
 writing-mode: horizontal-tb
 glyph-orientation-horizontal: 0deg
 glyph-orientation-vertical: auto
--webkit-svg-shadow: none
 vector-effect: none
 background-position-x: 0%
 background-position-y: 0%
index 1280bb0..6bc5875 100644 (file)
@@ -540,8 +540,6 @@ rect: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 rect: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(glyph-orientation-vertical) : auto
 rect: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-svg-shadow) : none
-rect: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(vector-effect) : none
 rect: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(background-attachment) : scroll
@@ -1086,8 +1084,6 @@ g: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 g: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(glyph-orientation-vertical) : auto
 g: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-svg-shadow) : none
-g: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(vector-effect) : none
 g: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 
index afd84cb..3c1af96 100644 (file)
@@ -623,9 +623,6 @@ webkit.org/b/122038 legacy-animation-engine/animations/transform-non-accelerated
 
 webkit.org/b/123250 plugins/destroy-during-npp-new-object-with-fallback-content.html [ Pass Failure ]
 
-webkit.org/b/123369 svg/css/parent-shadow-offscreen.svg [ ImageOnlyFailure ]
-webkit.org/b/123369 svg/css/root-shadow-offscreen.svg [ ImageOnlyFailure ]
-
 inspector/debugger/setBreakpoint-dfg-callee-and-examine-dfg-local.html
 inspector/debugger/didSampleProbe-multiple-probes.html
 inspector/debugger/nested-inspectors.html
diff --git a/LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.png b/LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.png
deleted file mode 100644 (file)
index 58a14fb..0000000
Binary files a/LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt b/LayoutTests/platform/mac/css3/blending/svg-blend-layer-shadow-expected.txt
deleted file mode 100644 (file)
index c3e9202..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x462
-  RenderBlock {HTML} at (0,0) size 800x462
-    RenderBody {BODY} at (8,16) size 784x438
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 624x18
-          text run at (0,0) width 624: "Test for isolation caused by a webkit-svg-shadow. This test passes if the whole rectangle is green."
-      RenderBlock (anonymous) at (0,34) size 784x404
-        RenderSVGRoot {svg} at (8,50) size 160x160
-          RenderSVGContainer {g} at (8,50) size 160x160 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}]
-            RenderSVGRect {rect} at (8,50) size 160x160 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
-            RenderSVGContainer {g} at (24,66) size 128x128
-              RenderSVGRect {rect} at (40,82) size 96x96 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
-        RenderText {#text} at (0,0) size 0x0
index efd6e09..ae36f22 100644 (file)
@@ -272,7 +272,6 @@ text-anchor: start;
 writing-mode: horizontal-tb;
 glyph-orientation-horizontal: 0deg;
 glyph-orientation-vertical: auto;
--webkit-svg-shadow: none;
 vector-effect: none;
 
 Other attributes that the computed style class supports:
index 46d0ccc..38ffca9 100644 (file)
@@ -271,7 +271,6 @@ text-anchor: start
 writing-mode: horizontal-tb
 glyph-orientation-horizontal: 0deg
 glyph-orientation-vertical: auto
--webkit-svg-shadow: none
 vector-effect: none
 background-position-x: 0%
 background-position-y: 0%
diff --git a/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-container-expected.txt b/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-container-expected.txt
deleted file mode 100644 (file)
index e5e50ea..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 472x177
-        RenderSVGPath {path} at (8,8) size 80x70 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.png b/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.png
deleted file mode 100644 (file)
index 3096ea2..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.txt b/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.txt
deleted file mode 100644 (file)
index 150c8f6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 460x165
-        RenderSVGPath {path} at (8,8) size 92x82 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (196,42) size 146x143 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (345,42) size 135x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/mac/svg/css/arrow-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/arrow-with-shadow-expected.png
deleted file mode 100644 (file)
index ca87c7e..0000000
Binary files a/LayoutTests/platform/mac/svg/css/arrow-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/circle-in-mask-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/circle-in-mask-with-shadow-expected.png
deleted file mode 100644 (file)
index 6197f74..0000000
Binary files a/LayoutTests/platform/mac/svg/css/circle-in-mask-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/clippath-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/clippath-with-shadow-expected.png
deleted file mode 100644 (file)
index 124828d..0000000
Binary files a/LayoutTests/platform/mac/svg/css/clippath-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/composite-shadow-example-expected.png b/LayoutTests/platform/mac/svg/css/composite-shadow-example-expected.png
deleted file mode 100644 (file)
index 5cfd80d..0000000
Binary files a/LayoutTests/platform/mac/svg/css/composite-shadow-example-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/mac/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index b31d6a2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,9) size 363x445
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,9) size 250x431
-      RenderSVGText {text} at (10,10) size 184x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x115
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.30: "Test"
-      RenderSVGText {text} at (10,135) size 184x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x115
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.30: "Test"
-      RenderSVGText {text} at (10,260) size 184x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 184x115
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.30: "Test"
-    RenderSVGText {text} at (28,436) size 344x18 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 344x18
-        chunk 1 (middle anchor) text run 1 at (28.48,450.00) startOffset 0 endOffset 51 width 343.03: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/mac/svg/css/composite-shadow-with-opacity-expected.png b/LayoutTests/platform/mac/svg/css/composite-shadow-with-opacity-expected.png
deleted file mode 100644 (file)
index e1a7deb..0000000
Binary files a/LayoutTests/platform/mac/svg/css/composite-shadow-with-opacity-expected.png and /dev/null differ
index 4bb06e1..7493692 100644 (file)
@@ -542,8 +542,6 @@ rect: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 rect: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(glyph-orientation-vertical) : auto
 rect: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-svg-shadow) : none
-rect: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(vector-effect) : none
 rect: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(background-attachment) : scroll
@@ -1090,8 +1088,6 @@ g: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 g: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(glyph-orientation-vertical) : auto
 g: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-svg-shadow) : none
-g: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(vector-effect) : none
 g: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 
diff --git a/LayoutTests/platform/mac/svg/css/group-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/group-with-shadow-expected.png
deleted file mode 100644 (file)
index e27ddc2..0000000
Binary files a/LayoutTests/platform/mac/svg/css/group-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/group-with-shadow-expected.txt b/LayoutTests/platform/mac/svg/css/group-with-shadow-expected.txt
deleted file mode 100644 (file)
index 91b2d68..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (25,25) size 300x292
-    RenderSVGContainer {g} at (11,11) size 394x386 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-      RenderSVGPath {line} at (26,25) size 298x50 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=10.00] [x2=85.00] [y2=10.00]
-      RenderSVGRect {rect} at (25,58) size 300x217 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#800080]}] [x=10.00] [y=20.00] [width=75.00] [height=50.00]
-      RenderSVGText {text} at (10,75) size 77x19 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 77x19
-          chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 12 width 76.37: "Hello there!"
diff --git a/LayoutTests/platform/mac/svg/css/mask-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/mask-with-shadow-expected.png
deleted file mode 100644 (file)
index e58e788..0000000
Binary files a/LayoutTests/platform/mac/svg/css/mask-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/path-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/path-with-shadow-expected.png
deleted file mode 100644 (file)
index 2066959..0000000
Binary files a/LayoutTests/platform/mac/svg/css/path-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/shadow-and-opacity-expected.png b/LayoutTests/platform/mac/svg/css/shadow-and-opacity-expected.png
deleted file mode 100644 (file)
index 943f5c5..0000000
Binary files a/LayoutTests/platform/mac/svg/css/shadow-and-opacity-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/shadow-changes-expected.png b/LayoutTests/platform/mac/svg/css/shadow-changes-expected.png
deleted file mode 100644 (file)
index 9e720a5..0000000
Binary files a/LayoutTests/platform/mac/svg/css/shadow-changes-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/mac/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index 85d074f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (132,2) size 330x288
-    RenderSVGContainer {g} at (96,0) size 366x290
-      RenderSVGRect {rect} at (132,2) size 218x218 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (202,72) size 218x218 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,36) size 192x108 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 192x107
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 191.22: "SVG"
diff --git a/LayoutTests/platform/mac/svg/css/shadow-with-large-radius-expected.png b/LayoutTests/platform/mac/svg/css/shadow-with-large-radius-expected.png
deleted file mode 100644 (file)
index 005994a..0000000
Binary files a/LayoutTests/platform/mac/svg/css/shadow-with-large-radius-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/shadow-with-negative-offset-expected.png b/LayoutTests/platform/mac/svg/css/shadow-with-negative-offset-expected.png
deleted file mode 100644 (file)
index fbe996c..0000000
Binary files a/LayoutTests/platform/mac/svg/css/shadow-with-negative-offset-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.png b/LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.png
deleted file mode 100644 (file)
index 70fa899..0000000
Binary files a/LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.txt b/LayoutTests/platform/mac/svg/css/stars-with-shadow-expected.txt
deleted file mode 100644 (file)
index 64f319d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (38,34) size 441x144
-        RenderSVGPath {path} at (36,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (186,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (345,42) size 146x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.png b/LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.png
deleted file mode 100644 (file)
index 648035d..0000000
Binary files a/LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.txt b/LayoutTests/platform/mac/svg/custom/simple-text-double-shadow-expected.txt
deleted file mode 100644 (file)
index c043fdc..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,26) size 380x194
-    RenderSVGText {text} at (20,26) size 221x18 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 221x18
-        chunk 1 text run 1 at (20.00,40.00) startOffset 0 endOffset 34 width 220.84: "This text should appear only twice"
-    RenderSVGRect {rect} at (100,100) size 250x70 [fill={[type=SOLID] [color=#0000FF]}] [x=100.00] [y=100.00] [width=200.00] [height=20.00]
diff --git a/LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png b/LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png
deleted file mode 100644 (file)
index 3b14355..0000000
Binary files a/LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt b/LayoutTests/platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt
deleted file mode 100644 (file)
index 47f17ed..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (14,0) size 578x592
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
-    RenderSVGEllipse {circle} at (12,12) size 192x192 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [cx=25.00] [cy=25.00] [r=20.00]
-    RenderSVGRect {rect} at (256,0) size 416x368 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=10.00] [y=0.50] [width=5.00] [height=5.00]
-    RenderSVGEllipse {circle} at (10,310) size 196x196 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [cx=25.00] [cy=100.00] [r=20.00]
-    RenderSVGRect {rect} at (240,240) size 448x360 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [x=10.00] [y=10.00] [width=5.00] [height=5.00]
diff --git a/LayoutTests/platform/mac/svg/filters/shadow-on-filter-expected.png b/LayoutTests/platform/mac/svg/filters/shadow-on-filter-expected.png
deleted file mode 100644 (file)
index ae7ea19..0000000
Binary files a/LayoutTests/platform/mac/svg/filters/shadow-on-filter-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png b/LayoutTests/platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png
deleted file mode 100644 (file)
index 4238157..0000000
Binary files a/LayoutTests/platform/mac/svg/filters/shadow-on-rect-with-filter-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png b/LayoutTests/platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png
deleted file mode 100644 (file)
index e9e3f07..0000000
Binary files a/LayoutTests/platform/mac/svg/repaint/repaint-webkit-svg-shadow-expected.png and /dev/null differ
index b0f1aae..91288a5 100644 (file)
@@ -1938,7 +1938,6 @@ svg/W3C-SVG-1.1-SE/text-intro-09-b.svg [ Failure ]
 svg/W3C-SVG-1.1/extend-namespace-01-f.svg [ Failure ]
 svg/text/bidi-text-anchor-direction.svg [ Failure ]
 svg/text/font-size-below-point-five.svg [ Failure ]
-svg/css/shadow-changes.svg [ Failure ]
 webkit.org/b/116564 transitions/svg-text-shadow-transition.html [ Failure ]
 webkit.org/b/116564 legacy-animation-engine/transitions/svg-text-shadow-transition.html [ Failure ]
 webkit.org/b/117322 svg/animations/mozilla/animateMotion-mpath-targetChange-1.svg [ ImageOnlyFailure ]
@@ -2843,8 +2842,6 @@ fast/multicol/vertical-rl/nested-columns.html [ ImageOnlyFailure ]
 fast/parser/document-write-into-initial-document.html [ Pass Failure ]
 
 # Weird shading across image:
-fast/repaint/moving-shadow-on-container.html [ Failure ]
-fast/repaint/moving-shadow-on-path.html [ Failure ]
 fast/repaint/canvas-putImageData.html [ Failure ]
 webkit.org/b/138042 fast/repaint/search-field-cancel.html [ Failure ]
 webkit.org/b/138042 fast/repaint/subtree-root-skipped.html [ Failure ]
diff --git a/LayoutTests/platform/win/css3/blending/svg-blend-layer-shadow-expected.txt b/LayoutTests/platform/win/css3/blending/svg-blend-layer-shadow-expected.txt
deleted file mode 100644 (file)
index a2c6cca..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x462
-  RenderBlock {HTML} at (0,0) size 800x462
-    RenderBody {BODY} at (8,16) size 784x438
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 614x18
-          text run at (0,0) width 614: "Test for isolation caused by a webkit-svg-shadow. This test passes if the whole rectangle is green."
-      RenderBlock (anonymous) at (0,34) size 784x404
-        RenderSVGRoot {svg} at (8,50) size 160x160
-          RenderSVGContainer {g} at (8,50) size 160x160 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}]
-            RenderSVGRect {rect} at (8,50) size 160x160 [fill={[type=SOLID] [color=#00FF00]}] [x=0.00] [y=0.00] [width=40.00] [height=40.00]
-            RenderSVGContainer {g} at (24,66) size 128x128
-              RenderSVGRect {rect} at (40,82) size 96x96 [fill={[type=SOLID] [color=#00FF00]}] [x=10.00] [y=10.00] [width=20.00] [height=20.00]
-        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/win/fast/repaint/moving-shadow-on-container-expected.txt b/LayoutTests/platform/win/fast/repaint/moving-shadow-on-container-expected.txt
deleted file mode 100644 (file)
index 83df715..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 468x173
-        RenderSVGPath {path} at (8,8) size 78x68 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-015 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-014 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (200,46) size 128x125 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-015 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-014 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (349,46) size 117x122 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-015 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-015 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/win/fast/repaint/moving-shadow-on-path-expected.txt b/LayoutTests/platform/win/fast/repaint/moving-shadow-on-path-expected.txt
deleted file mode 100644 (file)
index 154c83d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 458x163
-        RenderSVGPath {path} at (8,8) size 88x78 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-015 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-014 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (200,46) size 138x135 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-015 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-014 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (349,46) size 127x132 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-015 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-015 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/win/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/win/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index 0528d61..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,9) size 361x445
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,9) size 249x431
-      RenderSVGText {text} at (10,10) size 183x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x115
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,135) size 183x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x115
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,260) size 183x115 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x115
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.00: "Test"
-    RenderSVGText {text} at (30,436) size 340x18 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 340x18
-        chunk 1 (middle anchor) text run 1 at (30.00,450.00) startOffset 0 endOffset 51 width 340.00: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/win/svg/css/group-with-shadow-expected.txt b/LayoutTests/platform/win/svg/css/group-with-shadow-expected.txt
deleted file mode 100644 (file)
index 56e7674..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (25,25) size 300x292
-    RenderSVGContainer {g} at (11,11) size 394x386 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-      RenderSVGPath {line} at (26,25) size 298x50 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=10.00] [x2=85.00] [y2=10.00]
-      RenderSVGRect {rect} at (25,58) size 300x217 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#800080]}] [x=10.00] [y=20.00] [width=75.00] [height=50.00]
-      RenderSVGText {text} at (10,75) size 78x19 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 78x19
-          chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 12 width 77.40: "Hello there!"
diff --git a/LayoutTests/platform/win/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/win/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index 8c798cd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (135,5) size 326x285
-    RenderSVGContainer {g} at (105,0) size 356x290
-      RenderSVGRect {rect} at (135,5) size 215x215 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (205,75) size 215x215 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,36) size 191x107 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 191x107
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 191.00: "SVG"
diff --git a/LayoutTests/platform/win/svg/custom/simple-text-double-shadow-expected.txt b/LayoutTests/platform/win/svg/custom/simple-text-double-shadow-expected.txt
deleted file mode 100644 (file)
index 3f08731..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,26) size 380x194
-    RenderSVGText {text} at (20,26) size 217x18 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 217x18
-        chunk 1 text run 1 at (20.00,40.00) startOffset 0 endOffset 34 width 217.00: "This text should appear only twice"
-    RenderSVGRect {rect} at (100,100) size 250x70 [fill={[type=SOLID] [color=#0000FF]}] [x=100.00] [y=100.00] [width=200.00] [height=20.00]
diff --git a/LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt b/LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-container-expected.txt
deleted file mode 100644 (file)
index e5e50ea..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (8,8) size 472x177
-        RenderSVGPath {path} at (8,8) size 80x70 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png b/LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png
deleted file mode 100644 (file)
index af3d4f2..0000000
Binary files a/LayoutTests/platform/wincairo/fast/repaint/moving-shadow-on-path-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/wincairo/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/wincairo/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index a63513b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,7) size 353x447
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,7) size 249x430
-      RenderSVGText {text} at (10,8) size 183x114 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x114
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,133) size 183x114 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x114
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,258) size 183x114 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x114
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.00: "Test"
-    RenderSVGText {text} at (38,435) size 324x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 324x19
-        chunk 1 (middle anchor) text run 1 at (38.00,450.00) startOffset 0 endOffset 51 width 324.00: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/wincairo/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/wincairo/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index 6bedf97..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (132,2) size 329x288
-    RenderSVGContainer {g} at (96,0) size 365x290
-      RenderSVGRect {rect} at (132,2) size 218x218 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (202,72) size 218x218 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,35) size 191x105 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 191x105
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 191.00: "SVG"
diff --git a/LayoutTests/platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt b/LayoutTests/platform/wincairo/svg/custom/transform-with-shadow-and-gradient-expected.txt
deleted file mode 100644 (file)
index 47f17ed..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (14,0) size 578x592
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
-    RenderSVGEllipse {circle} at (12,12) size 192x192 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [cx=25.00] [cy=25.00] [r=20.00]
-    RenderSVGRect {rect} at (256,0) size 416x368 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=10.00] [y=0.50] [width=5.00] [height=5.00]
-    RenderSVGEllipse {circle} at (10,310) size 196x196 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [cx=25.00] [cy=100.00] [r=20.00]
-    RenderSVGRect {rect} at (240,240) size 448x360 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [x=10.00] [y=10.00] [width=5.00] [height=5.00]
diff --git a/LayoutTests/platform/wpe/svg/css/composite-shadow-text-expected.txt b/LayoutTests/platform/wpe/svg/css/composite-shadow-text-expected.txt
deleted file mode 100644 (file)
index 8c2970e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (9,9) size 361x445
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
-        RenderSVGRect {rect} at (0,0) size 10x10 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
-        RenderSVGRect {rect} at (0,10) size 10x10 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=10.00] [width=10.00] [height=10.00]
-    RenderSVGContainer {g} at (9,9) size 249x428
-      RenderSVGText {text} at (10,10) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,100.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,135) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,225.00) startOffset 0 endOffset 4 width 183.00: "Test"
-      RenderSVGText {text} at (10,260) size 183x112 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 183x111
-          chunk 1 text run 1 at (10.00,350.00) startOffset 0 endOffset 4 width 183.00: "Test"
-    RenderSVGText {text} at (30,435) size 340x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 340x18
-        chunk 1 (middle anchor) text run 1 at (30.00,450.00) startOffset 0 endOffset 51 width 340.00: "The word Test should only be shadowd once, per line"
diff --git a/LayoutTests/platform/wpe/svg/css/shadow-changes-expected.txt b/LayoutTests/platform/wpe/svg/css/shadow-changes-expected.txt
deleted file mode 100644 (file)
index fc40794..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (132,2) size 329x288
-    RenderSVGContainer {g} at (96,0) size 365x290
-      RenderSVGRect {rect} at (132,2) size 218x218 [fill={[type=SOLID] [color=#FF0000]}] [x=150.00] [y=20.00] [width=200.00] [height=200.00]
-      RenderSVGEllipse {circle} at (202,72) size 218x218 [fill={[type=SOLID] [color=#0000FF]}] [cx=320.00] [cy=190.00] [r=100.00]
-      RenderSVGText {text} at (270,37) size 191x104 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 191x103
-          chunk 1 text run 1 at (270.00,120.00) startOffset 0 endOffset 3 width 191.00: "SVG"
diff --git a/LayoutTests/platform/wpe/svg/css/stars-with-shadow-expected.txt b/LayoutTests/platform/wpe/svg/css/stars-with-shadow-expected.txt
deleted file mode 100644 (file)
index 64f319d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (38,34) size 441x144
-        RenderSVGPath {path} at (36,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (186,32) size 164x158 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (345,42) size 146x140 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/platform/wpe/svg/custom/simple-text-double-shadow-expected.txt b/LayoutTests/platform/wpe/svg/custom/simple-text-double-shadow-expected.txt
deleted file mode 100644 (file)
index cacf3f2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,25) size 380x195
-    RenderSVGText {text} at (20,25) size 217x19 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 217x18
-        chunk 1 text run 1 at (20.00,40.00) startOffset 0 endOffset 34 width 217.00: "This text should appear only twice"
-    RenderSVGRect {rect} at (100,100) size 250x70 [fill={[type=SOLID] [color=#0000FF]}] [x=100.00] [y=100.00] [width=200.00] [height=20.00]
diff --git a/LayoutTests/platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt b/LayoutTests/platform/wpe/svg/custom/transform-with-shadow-and-gradient-expected.txt
deleted file mode 100644 (file)
index 47f17ed..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (14,0) size 578x592
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,0)]
-        RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
-    RenderSVGEllipse {circle} at (12,12) size 192x192 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [cx=25.00] [cy=25.00] [r=20.00]
-    RenderSVGRect {rect} at (256,0) size 416x368 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [x=10.00] [y=0.50] [width=5.00] [height=5.00]
-    RenderSVGEllipse {circle} at (10,310) size 196x196 [transform={m=((4.00,0.00)(0.00,4.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [cx=25.00] [cy=100.00] [r=20.00]
-    RenderSVGRect {rect} at (240,240) size 448x360 [transform={m=((32.00,0.00)(0.00,32.00)) t=(0.00,0.00)}] [stroke={[type=LINEAR-GRADIENT] [id="gradient"]}] [fill={[type=SOLID] [color=#00000000]}] [x=10.00] [y=10.00] [width=5.00] [height=5.00]
diff --git a/LayoutTests/svg/css/arrow-with-shadow-expected.txt b/LayoutTests/svg/css/arrow-with-shadow-expected.txt
deleted file mode 100644 (file)
index 4eef0d6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (73,17) size 617x426
-    RenderSVGContainer {g} at (59,3) size 711x520 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-      RenderSVGContainer {a} at (66,10) size 664x473
-        RenderSVGPath {path} at (73,17) size 617x426 [stroke={[type=SOLID] [color=#0000FF] [stroke width=20.00]}] [data="M 185 40 L 85 40 L 85 28 L 40 64 L 85 100 L 85 88 L 185 88 Z"]
diff --git a/LayoutTests/svg/css/arrow-with-shadow.svg b/LayoutTests/svg/css/arrow-with-shadow.svg
deleted file mode 100644 (file)
index e4a3fae..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
-
-<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
-
-       <desc id="test-desc">Shadowy Arrow</desc>
-       <g id="test-body-content" transform="scale(2)" style="-webkit-svg-shadow: 5px 5px 5px grey">
-               <a xlink:href="resources/link-target.html">
-                       <path fill="none" stroke-width="20" stroke="blue" d="M 185,40 h -100 v -12 l -45 36 l 45 36 v -12 h 100 z"/>
-               </a>
-       </g>
-</svg>
diff --git a/LayoutTests/svg/css/circle-in-mask-with-shadow-expected.png b/LayoutTests/svg/css/circle-in-mask-with-shadow-expected.png
deleted file mode 100644 (file)
index 7e287af..0000000
Binary files a/LayoutTests/svg/css/circle-in-mask-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/circle-in-mask-with-shadow-expected.txt b/LayoutTests/svg/css/circle-in-mask-with-shadow-expected.txt
deleted file mode 100644 (file)
index 159e9fc..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 450x500
-  RenderSVGRoot {svg} at (3,3) size 224x224
-    RenderSVGContainer {g} at (3,3) size 224x224
-      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-        RenderSVGResourceLinearGradient {linearGradient} [id="maskedGradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,1)]
-          RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-          RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-        RenderSVGRect {rect} at (0,0) size 300x300 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=300.00] [height=300.00]
-        RenderSVGResourceMasker {mask} [id="mask_1"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
-          RenderSVGEllipse {circle} at (1,1) size 128x128 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=55.00] [cy=55.00] [r=50.00]
-          RenderSVGEllipse {circle} at (1,111) size 128x128 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=55.00] [cy=165.00] [r=50.00]
-          RenderSVGEllipse {circle} at (111,1) size 128x128 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=165.00] [cy=55.00] [r=50.00]
-          RenderSVGEllipse {circle} at (111,111) size 128x128 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=165.00] [cy=165.00] [r=50.00]
-      RenderSVGContainer {g} at (3,3) size 224x224
-        RenderSVGContainer {use} at (3,3) size 224x224
-          [masker="mask_1"] RenderSVGResourceMasker {mask} at (3,3) size 224x224
-          RenderSVGRect {rect} at (0,0) size 300x300 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=300.00] [height=300.00]
diff --git a/LayoutTests/svg/css/circle-in-mask-with-shadow.svg b/LayoutTests/svg/css/circle-in-mask-with-shadow.svg
deleted file mode 100644 (file)
index d36f52b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
-"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
-
-    <g>
-
-        <defs>
-
-        <linearGradient id="maskedGradient" x1="0" x2="1" y1="0" y2="1" color-interpolation="linearRGB">
-            <stop offset="0" stop-color="blue" />
-            <stop offset="1" stop-color="red" />
-        </linearGradient>
-
-        <rect id="masked" width="300" height="300" fill="url(#maskedGradient)" />
-
-        <mask id="mask_1">
-            <circle cx="55" cy="55" r="50" fill="#ffffff" style="-webkit-svg-shadow:5px 5px 5px red" />
-            <circle cx="55" cy="165" r="50" fill="#ffffff" style="-webkit-svg-shadow:5px 5px 5px red" />
-            <circle cx="165" cy="55" r="50" fill="#ffffff" style="-webkit-svg-shadow:5px 5px 5px red" />
-            <circle cx="165" cy="165" r="50" fill="#ffffff" style="-webkit-svg-shadow:5px 5px 5px red" />
-        </mask>
-
-     
-        </defs>
-
-
-        <g>
-            <use xlink:href="#masked" mask="url(#mask_1)"/>
-        </g>
-    </g>
-    
-</svg>
diff --git a/LayoutTests/svg/css/clippath-with-shadow-expected.png b/LayoutTests/svg/css/clippath-with-shadow-expected.png
deleted file mode 100644 (file)
index 16ee3c1..0000000
Binary files a/LayoutTests/svg/css/clippath-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/clippath-with-shadow-expected.txt b/LayoutTests/svg/css/clippath-with-shadow-expected.txt
deleted file mode 100644 (file)
index 2d0ef39..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (0,0) size 212x200
-    RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
-    RenderSVGRect {rect} at (0,0) size 200x200 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-200.00,0.00)}] [x=200.00] [y=0.00] [width=200.00] [height=200.00]
-    RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
-      RenderSVGContainer {use} at (0,0) size 224x224
-        RenderSVGRect {rect} at (0,0) size 212x212 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-200.00,0.00)}] [x=200.00] [y=0.00] [width=200.00] [height=200.00]
-    RenderSVGRect {rect} at (0,0) size 212x200 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=400.00] [height=200.00]
-      [clipPath="clip"] RenderSVGResourceClipper {clipPath} at (-2,-2) size 214x214
diff --git a/LayoutTests/svg/css/clippath-with-shadow.svg b/LayoutTests/svg/css/clippath-with-shadow.svg
deleted file mode 100644 (file)
index 418d1a2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   version="1.0">
-  <rect fill="red" x="0" y="0" width="200" height="200" />
-  <rect x="200" y="0" fill="none" width="200" height="200" transform="translate(-200,0)" id="crect" />
-  <clipPath id="clip" style="-webkit-svg-shadow: 5px 5px 5px grey"><use xlink:href="#crect" /></clipPath>
-  <rect fill="green" stroke="none" x="0" y="0" width="400" height="200" clip-path="url(#clip)" />
-</svg>
diff --git a/LayoutTests/svg/css/composite-shadow-example-expected.txt b/LayoutTests/svg/css/composite-shadow-example-expected.txt
deleted file mode 100644 (file)
index 62724ae..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (36,32) size 444x158
-        RenderSVGContainer {g} at (36,32) size 164x158
-          RenderSVGPath {path} at (38,34) size 150x144 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (196,42) size 146x143
-          RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGContainer {g} at (345,42) size 135x140
-          RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/svg/css/composite-shadow-example.html b/LayoutTests/svg/css/composite-shadow-example.html
deleted file mode 100644 (file)
index d4fc532..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<html>
-<head>
-<script language="javascript">
-<!--
-
-SVG_NS = 'http://www.w3.org/2000/svg';
-
-function pathFromStar (radius, innerRadius, sides) {
-    var path = [];
-    for (var i = 0; i < sides * 2; ++i) {
-        var theta = Math.PI * i / sides + (Math.PI / 2);
-        var r = (i % 2) ? radius : innerRadius;
-        var x = r * Math.cos(theta);
-        var y = r * Math.sin(theta);
-        path.push((i ? 'L' : 'M'), x, y);
-    }
-    path.push('Z');
-    return path.join(' ');
-}
-
-function newSvgElement (tagName, parentNode, attrs) {
-    var node = document.createElementNS(SVG_NS, tagName);
-    if (attrs) {
-        for (var k in attrs) {
-            node.setAttribute(k, attrs[k]);
-        }
-    }
-    if (parentNode) {
-        parentNode.appendChild(node);
-    }
-    return node;
-}
-
-function setCenterPosition (node, x, y) {
-    node.setAttribute('transform', 'translate($1, $2)'
-        .replace('$1', x)
-        .replace('$2', y));
-}
-
-var armed = null;
-
-window.addEventListener('load', function () {
-
-    var svgContainer = newSvgElement('svg', document.body);
-    svgContainer.setAttribute('width', '100%');
-    svgContainer.setAttribute('height', '100%');
-    var shapes = [
-        { pos: [ 100, 100 ], size: 60, hasStroke: false },
-        { pos: [ 250, 100 ], size: 60, hasStroke: true },
-        { pos: [ 400, 100 ], size: 50, hasStroke: true }
-    ];
-    svgContainer.style.WebkitSvgShadow = '5px 5px 5px red';
-    for (var i = 0; i < shapes.length; ++i) {
-        var shape = shapes[i];
-        var group = newSvgElement('g', svgContainer);
-        var node = newSvgElement('path', group, {
-            d: pathFromStar(shape.size, shape.size / 2, 5),
-            fill: '#999',
-            stroke: 'black',
-            'stroke-width': 10,
-        });
-        setCenterPosition(node, shape.pos[0], shape.pos[1]);
-        if (shapes[i].hasStroke) {
-            node.setAttribute('stroke-dasharray', 20);
-        }
-        node.addEventListener('mousedown', function (ev) {
-            var e = ev || event;
-            armed = { node: e.target || e.srcElement };
-        });
-        node.addEventListener('mouseup', function () {
-            armed = null;
-        });
-    }
-    window.addEventListener('mousemove', function (ev) {
-        if (armed) {
-            var e = ev || event;
-            setCenterPosition(armed.node, e.clientX, e.clientY);
-        }
-    });
-});
-
-//-->
-</script>
-</head>
-<body>
-
-</body>
-</html>
diff --git a/LayoutTests/svg/css/composite-shadow-text-expected.png b/LayoutTests/svg/css/composite-shadow-text-expected.png
deleted file mode 100644 (file)
index 0953871..0000000
Binary files a/LayoutTests/svg/css/composite-shadow-text-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/composite-shadow-text.svg b/LayoutTests/svg/css/composite-shadow-text.svg
deleted file mode 100644 (file)
index 5c886fc..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-    <linearGradient id="gradient" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">
-        <stop stop-color="blue"  offset="0"/>
-        <stop stop-color="red"  offset="1"/>
-    </linearGradient>
-
-    <pattern id="pattern" patternUnits="userSpaceOnUse" x="0" y="0" width="10" height="20">
-        <rect x="0" y="0" width="10" height="10" fill="blue" />
-        <rect x="0" y="10" width="10" height="10" fill="red" />
-    </pattern>
-</defs>
-
-<g style="-webkit-svg-shadow: rgba(106,119,64, 0.7) 25px 25px 5px;">
-    <text x="10" y="100" fill="url(#gradient)" stroke="yellow" style="font-weight:bold; font-size:100px;">Test</text>
-    <text x="10" y="225" fill="url(#pattern)" stroke="yellow" style="font-weight:bold; font-size:100px;">Test</text>
-    <text x="10" y="350" fill="green" stroke="red" style="font-weight:bold; font-size:100px;">Test</text>
-</g>
-<text x="200" y="450" text-anchor="middle">The word Test should only be shadowd once, per line</text>
-</svg>
diff --git a/LayoutTests/svg/css/composite-shadow-with-opacity-expected.txt b/LayoutTests/svg/css/composite-shadow-with-opacity-expected.txt
deleted file mode 100644 (file)
index eba648b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-layer at (8,8) size 769x600
-  RenderSVGRoot {svg} at (36,32) size 444x158 [opacity=0.50]
-    RenderSVGContainer {g} at (36,32) size 164x158
-      RenderSVGPath {path} at (38,34) size 150x144 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (196,42) size 146x143
-      RenderSVGPath {path} at (198,44) size 132x129 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-    RenderSVGContainer {g} at (345,42) size 135x140
-      RenderSVGPath {path} at (347,44) size 121x126 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash array={20.00}]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/svg/css/composite-shadow-with-opacity.html b/LayoutTests/svg/css/composite-shadow-with-opacity.html
deleted file mode 100644 (file)
index e91f172..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<html>
-<head>
-<script language="javascript">
-<!--
-
-SVG_NS = 'http://www.w3.org/2000/svg';
-
-function pathFromStar (radius, innerRadius, sides) {
-    var path = [];
-    for (var i = 0; i < sides * 2; ++i) {
-        var theta = Math.PI * i / sides + (Math.PI / 2);
-        var r = (i % 2) ? radius : innerRadius;
-        var x = r * Math.cos(theta);
-        var y = r * Math.sin(theta);
-        path.push((i ? 'L' : 'M'), x, y);
-    }
-    path.push('Z');
-    return path.join(' ');
-}
-
-function newSvgElement (tagName, parentNode, attrs) {
-    var node = document.createElementNS(SVG_NS, tagName);
-    if (attrs) {
-        for (var k in attrs) {
-            node.setAttribute(k, attrs[k]);
-        }
-    }
-    if (parentNode) {
-        parentNode.appendChild(node);
-    }
-    return node;
-}
-
-function setCenterPosition (node, x, y) {
-    node.setAttribute('transform', 'translate($1, $2)'
-        .replace('$1', x)
-        .replace('$2', y));
-}
-
-var armed = null;
-
-window.addEventListener('load', function () {
-
-    var svgContainer = newSvgElement('svg', document.body);
-    svgContainer.setAttribute('width', '100%');
-    svgContainer.setAttribute('height', '100%');
-    var shapes = [
-        { pos: [ 100, 100 ], size: 60, hasStroke: false },
-        { pos: [ 250, 100 ], size: 60, hasStroke: true },
-        { pos: [ 400, 100 ], size: 50, hasStroke: true }
-    ];
-    svgContainer.style.WebkitSvgShadow = '5px 5px 5px red';
-    svgContainer.style.opacity = '0.5';
-    for (var i = 0; i < shapes.length; ++i) {
-        var shape = shapes[i];
-        var group = newSvgElement('g', svgContainer);
-        var node = newSvgElement('path', group, {
-            d: pathFromStar(shape.size, shape.size / 2, 5),
-            fill: '#999',
-            stroke: 'black',
-            'stroke-width': 10,
-        });
-        setCenterPosition(node, shape.pos[0], shape.pos[1]);
-        if (shapes[i].hasStroke) {
-            node.setAttribute('stroke-dasharray', 20);
-        }
-        node.addEventListener('mousedown', function (ev) {
-            var e = ev || event;
-            armed = { node: e.target || e.srcElement };
-        });
-        node.addEventListener('mouseup', function () {
-            armed = null;
-        });
-    }
-    window.addEventListener('mousemove', function (ev) {
-        if (armed) {
-            var e = ev || event;
-            setCenterPosition(armed.node, e.clientX, e.clientY);
-        }
-    });
-});
-
-//-->
-</script>
-</head>
-<body>
-
-</body>
-</html>
index 1280bb0..6bc5875 100644 (file)
@@ -540,8 +540,6 @@ rect: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 rect: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(glyph-orientation-vertical) : auto
 rect: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-svg-shadow) : none
-rect: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(vector-effect) : none
 rect: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(background-attachment) : scroll
@@ -1086,8 +1084,6 @@ g: style.getPropertyValue(glyph-orientation-horizontal) : 0deg
 g: style.getPropertyCSSValue(glyph-orientation-horizontal) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(glyph-orientation-vertical) : auto
 g: style.getPropertyCSSValue(glyph-orientation-vertical) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-svg-shadow) : none
-g: style.getPropertyCSSValue(-webkit-svg-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(vector-effect) : none
 g: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue]
 
diff --git a/LayoutTests/svg/css/group-with-shadow-expected.txt b/LayoutTests/svg/css/group-with-shadow-expected.txt
deleted file mode 100644 (file)
index 939363c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (25,25) size 300x290
-    RenderSVGContainer {g} at (11,11) size 394x384 [transform={m=((2.00,0.00)(0.00,2.00)) t=(0.00,0.00)}]
-      RenderSVGPath {line} at (26,25) size 298x50 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#000000]}] [x1=10.00] [y1=10.00] [x2=85.00] [y2=10.00]
-      RenderSVGRect {rect} at (25,58) size 300x217 [stroke={[type=SOLID] [color=#800080]}] [fill={[type=SOLID] [color=#800080]}] [x=10.00] [y=20.00] [width=75.00] [height=50.00]
-      RenderSVGText {text} at (10,75) size 78x19 contains 1 chunk(s)
-        RenderSVGInlineText {#text} at (0,0) size 78x18
-          chunk 1 text run 1 at (10.00,90.00) startOffset 0 endOffset 12 width 77.40: "Hello there!"
diff --git a/LayoutTests/svg/css/group-with-shadow.svg b/LayoutTests/svg/css/group-with-shadow.svg
deleted file mode 100644 (file)
index 13a72aa..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
-
-<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
-
-       <desc id="test-desc">Shadowy Group</desc>
-       <g id="test-body-content" transform="scale(2)" style="-webkit-svg-shadow:5px 5px 5px grey">
-      <line x1="10" y1="10" x2="85" y2="10"
-          style="stroke: purple;"/>
-
-      <rect x="10" y="20" height="50" width="75"
-          style="stroke: purple; fill: purple"/>
-
-      <text x="10" y="90" style="stroke: purple; fill: red">
-        Hello there!</text>
-    </g>
-
-</svg>
diff --git a/LayoutTests/svg/css/mask-with-shadow-expected.txt b/LayoutTests/svg/css/mask-with-shadow-expected.txt
deleted file mode 100644 (file)
index 95f1561..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 450x500
-  RenderSVGRoot {svg} at (3,3) size 224x224
-    RenderSVGContainer {g} at (3,3) size 224x224
-      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-        RenderSVGResourceLinearGradient {linearGradient} [id="maskedGradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,1)]
-          RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
-          RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
-        RenderSVGRect {rect} at (0,0) size 300x300 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=300.00] [height=300.00]
-        RenderSVGResourceMasker {mask} [id="mask_1"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
-          RenderSVGEllipse {circle} at (3,3) size 114x114 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=55.00] [cy=55.00] [r=50.00]
-          RenderSVGEllipse {circle} at (3,113) size 114x114 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=55.00] [cy=165.00] [r=50.00]
-          RenderSVGEllipse {circle} at (113,3) size 114x114 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=165.00] [cy=55.00] [r=50.00]
-          RenderSVGEllipse {circle} at (113,113) size 114x114 [fill={[type=SOLID] [color=#FFFFFF]}] [cx=165.00] [cy=165.00] [r=50.00]
-      RenderSVGContainer {g} at (3,3) size 224x224
-        RenderSVGContainer {use} at (3,3) size 224x224
-          [masker="mask_1"] RenderSVGResourceMasker {mask} at (3,3) size 224x224
-          RenderSVGRect {rect} at (0,0) size 300x300 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [x=0.00] [y=0.00] [width=300.00] [height=300.00]
diff --git a/LayoutTests/svg/css/mask-with-shadow.svg b/LayoutTests/svg/css/mask-with-shadow.svg
deleted file mode 100644 (file)
index ed70e51..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
-"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
-
-    <g>
-
-        <defs>
-
-        <linearGradient id="maskedGradient" x1="0" x2="1" y1="0" y2="1" color-interpolation="linearRGB">
-            <stop offset="0" stop-color="blue" />
-            <stop offset="1" stop-color="red" />
-        </linearGradient>
-
-        <rect id="masked" width="300" height="300" fill="url(#maskedGradient)" />
-
-        <mask id="mask_1" style="-webkit-svg-shadow:5px 5px 5px grey">
-            <circle cx="55" cy="55" r="50" fill="#ffffff" />
-            <circle cx="55" cy="165" r="50" fill="#ffffff" />
-            <circle cx="165" cy="55" r="50" fill="#ffffff" />
-            <circle cx="165" cy="165" r="50" fill="#ffffff" />
-        </mask>
-
-     
-        </defs>
-
-
-        <g>
-            <use xlink:href="#masked" mask="url(#mask_1)"/>
-        </g>
-    </g>
-    
-</svg>
diff --git a/LayoutTests/svg/css/parent-shadow-offscreen-expected.svg b/LayoutTests/svg/css/parent-shadow-offscreen-expected.svg
deleted file mode 100644 (file)
index b75d3a0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<title>Expected results for parent-shadow-offscreen.svg</title>
-<rect id="rect" fill="white" style="-webkit-svg-shadow: #000 100px 100px 5px" x="0" y="0" width="75" height="75"></rect>
-</svg>
diff --git a/LayoutTests/svg/css/parent-shadow-offscreen.svg b/LayoutTests/svg/css/parent-shadow-offscreen.svg
deleted file mode 100644 (file)
index b7b7b1a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<title>Test passes if the shadow is drawn.</title>
-<g style="-webkit-svg-shadow: #000 200px 200px 5px">
-<rect id="rect" x="-100" y="-100" width="75" height="75"></rect>
-</g>
-</svg>
diff --git a/LayoutTests/svg/css/path-with-shadow-expected.png b/LayoutTests/svg/css/path-with-shadow-expected.png
deleted file mode 100644 (file)
index 1b6bc46..0000000
Binary files a/LayoutTests/svg/css/path-with-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/path-with-shadow-expected.txt b/LayoutTests/svg/css/path-with-shadow-expected.txt
deleted file mode 100644 (file)
index a9270de..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (198,198) size 114x214
-    RenderSVGPath {path} at (196,196) size 128x228 [fill={[type=SOLID] [color=#0000FF]}] [data="M 200 200 L 300 200 L 300 400 L 200 400 Z"]
diff --git a/LayoutTests/svg/css/path-with-shadow.svg b/LayoutTests/svg/css/path-with-shadow.svg
deleted file mode 100644 (file)
index 282fb93..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg">
-<path mask="url(#mask)" fill="blue" d="M 200 200 l 100 0 l 0 200 l -100 0 Z" style="-webkit-svg-shadow: 5px 5px 5px grey"/>
-</svg>
diff --git a/LayoutTests/svg/css/root-shadow-offscreen-expected.svg b/LayoutTests/svg/css/root-shadow-offscreen-expected.svg
deleted file mode 100644 (file)
index b364f15..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<title>Expected results for root-shadow-offscreen.svg</title>
-<rect id="rect" fill="white" style="-webkit-svg-shadow: #000 100px 100px 5px" x="0" y="0" width="75" height="75"></rect>
-</svg>
diff --git a/LayoutTests/svg/css/root-shadow-offscreen.svg b/LayoutTests/svg/css/root-shadow-offscreen.svg
deleted file mode 100644 (file)
index fed1b12..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" style="-webkit-svg-shadow: #000 200px 200px 5px">
-<title>Test passes if the shadow is drawn.</title>
-<rect id="rect" x="-100" y="-100" width="75" height="75"></rect>
-</svg>
diff --git a/LayoutTests/svg/css/shadow-and-opacity-expected.txt b/LayoutTests/svg/css/shadow-and-opacity-expected.txt
deleted file mode 100644 (file)
index 7de62ea..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (85,85) size 215x215
-    RenderSVGRect {rect} at (70,70) size 230x230 [opacity=0.50] [fill={[type=SOLID] [color=#008000]}] [x=100.00] [y=100.00] [width=200.00] [height=200.00]
diff --git a/LayoutTests/svg/css/shadow-and-opacity.svg b/LayoutTests/svg/css/shadow-and-opacity.svg
deleted file mode 100644 (file)
index ad7d8e0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<rect x="100" y="100" width="200" height="200" fill="green" style="opacity:0.5;-webkit-svg-shadow:-10px -10px 3px black;"/>
-</svg>
diff --git a/LayoutTests/svg/css/shadow-changes.svg b/LayoutTests/svg/css/shadow-changes.svg
deleted file mode 100644 (file)
index b055495..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javascript"></script>
-<script type="text/javascript">
-function repaintTest() {
-    var group = document.getElementsByTagName('g')[0];
-    group.style.WebkitSvgShadow = "rgba(64,64,64, 0.7) -9px -9px 6px";
-}
-</script>
-<g id="svg-shadow-example" style="-webkit-svg-shadow: rgba(106,119,64, 0.7) 5px 5px 9px;">
-    <rect x="150" y="20" width="200" height="200" fill="red"/>
-    <circle cy="190" cx="320" r="100" fill="blue"/>
-    <text x="270" y="120" fill="green" style="font-weight:bold;font-size:70pt;text-shadow:none;">SVG</text>
-</g>
-</svg>
diff --git a/LayoutTests/svg/css/shadow-with-large-radius-expected.png b/LayoutTests/svg/css/shadow-with-large-radius-expected.png
deleted file mode 100644 (file)
index b8b5bd2..0000000
Binary files a/LayoutTests/svg/css/shadow-with-large-radius-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/shadow-with-large-radius-expected.txt b/LayoutTests/svg/css/shadow-with-large-radius-expected.txt
deleted file mode 100644 (file)
index ec52c9e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (30,30) size 250x250
-    RenderSVGPath {path} at (0,0) size 355x355 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 100 100 L 200 100 L 200 200 L 100 200 Z"]
diff --git a/LayoutTests/svg/css/shadow-with-large-radius.svg b/LayoutTests/svg/css/shadow-with-large-radius.svg
deleted file mode 100644 (file)
index a717a56..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<path d="M 100 100 L 200 100 L 200 200 L 100 200 Z" fill="#999" stroke="#000" stroke-width="10" style="-webkit-svg-shadow: #f00 5px 5px 50px"></path>
-</svg>
diff --git a/LayoutTests/svg/css/shadow-with-negative-offset-expected.png b/LayoutTests/svg/css/shadow-with-negative-offset-expected.png
deleted file mode 100644 (file)
index 86fe6d2..0000000
Binary files a/LayoutTests/svg/css/shadow-with-negative-offset-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/css/shadow-with-negative-offset-expected.txt b/LayoutTests/svg/css/shadow-with-negative-offset-expected.txt
deleted file mode 100644 (file)
index 38d0a5e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,20) size 250x250
-    RenderSVGPath {path} at (0,0) size 335x335 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 100 100 L 200 100 L 200 200 L 100 200 Z"]
diff --git a/LayoutTests/svg/css/shadow-with-negative-offset.svg b/LayoutTests/svg/css/shadow-with-negative-offset.svg
deleted file mode 100644 (file)
index 9fe8e4d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<path d="M 100 100 L 200 100 L 200 200 L 100 200 Z" fill="#999" stroke="#000" stroke-width="10" style="-webkit-svg-shadow: #f00 -5px -5px 50px"></path>
-</svg>
diff --git a/LayoutTests/svg/css/stars-with-shadow-expected.txt b/LayoutTests/svg/css/stars-with-shadow-expected.txt
deleted file mode 100644 (file)
index 6e5d64b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-layer at (0,0) size 785x616
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x616
-  RenderBlock {HTML} at (0,0) size 785x616
-    RenderBody {BODY} at (8,8) size 769x600
-      RenderSVGRoot {svg} at (40,36) size 437x140
-        RenderSVGPath {path} at (40,36) size 156x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (190,36) size 156x150 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.83697e-15 30 L -35.2671 48.541 L -28.5317 9.27051 L -57.0634 -18.541 L -17.6336 -24.2705 L -1.10218e-14 -60 L 17.6336 -24.2705 L 57.0634 -18.541 L 28.5317 9.27051 L 35.2671 48.541 Z"]
-        RenderSVGPath {path} at (349,46) size 138x132 [transform={m=((1.00,0.00)(0.00,1.00)) t=(400.00,100.00)}] [stroke={[type=SOLID] [color=#800080] [stroke width=10.00]}] [fill={[type=SOLID] [color=#999999]}] [data="M 1.53081e-15 25 L -29.3893 40.4509 L -23.7764 7.72542 L -47.5528 -15.4508 L -14.6946 -20.2254 L -9.18485e-15 -50 L 14.6946 -20.2254 L 47.5528 -15.4508 L 23.7764 7.72542 L 29.3893 40.4509 Z"]
diff --git a/LayoutTests/svg/css/stars-with-shadow.html b/LayoutTests/svg/css/stars-with-shadow.html
deleted file mode 100644 (file)
index 2f879da..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<html>
-<head>
-<script language="javascript">
-<!--
-
-SVG_NS = 'http://www.w3.org/2000/svg';
-
-function pathFromStar (radius, innerRadius, sides) {
-    var path = [];
-    for (var i = 0; i < sides * 2; ++i) {
-        var theta = Math.PI * i / sides + (Math.PI / 2);
-        var r = (i % 2) ? radius : innerRadius;
-        var x = r * Math.cos(theta);
-        var y = r * Math.sin(theta);
-        path.push((i ? 'L' : 'M'), x, y);
-    }
-    path.push('Z');
-    return path.join(' ');
-}
-
-function newSvgElement (tagName, parentNode, attrs) {
-    var node = document.createElementNS(SVG_NS, tagName);
-    if (attrs) {
-        for (var k in attrs) {
-            node.setAttribute(k, attrs[k]);
-        }
-    }
-    if (parentNode) {
-        parentNode.appendChild(node);
-    }
-    return node;
-}
-
-function setCenterPosition (node, x, y) {
-    node.setAttribute('transform', 'translate($1, $2)'
-        .replace('$1', x)
-        .replace('$2', y));
-}
-
-window.addEventListener('load', function () {
-
-    var svgContainer = newSvgElement('svg', document.body);
-    svgContainer.setAttribute('width', '100%');
-    svgContainer.setAttribute('height', '100%');
-    var shapes = [
-        { pos: [ 100, 100 ], size: 60 },
-        { pos: [ 250, 100 ], size: 60 },
-        { pos: [ 400, 100 ], size: 50 }
-    ];
-    for (var i = 0; i < shapes.length; ++i) {
-        var shape = shapes[i];
-        var node = newSvgElement('path', svgContainer, {
-            d: pathFromStar(shape.size, shape.size / 2, 5),
-            fill: '#999',
-            stroke: 'purple',
-            'stroke-width': 10,
-        });
-        setCenterPosition(node, shape.pos[0], shape.pos[1]);
-        node.id = 'svg';
-    }
-});
-
-//-->
-</script>
-
-<style>
-    #svg {
-        -webkit-svg-shadow: 5px 5px 5px #888;
-    }
-</style>
-</head>
-<body>
-</body>
-</html>
diff --git a/LayoutTests/svg/custom/simple-text-double-shadow-expected.png b/LayoutTests/svg/custom/simple-text-double-shadow-expected.png
deleted file mode 100644 (file)
index d10c20f..0000000
Binary files a/LayoutTests/svg/custom/simple-text-double-shadow-expected.png and /dev/null differ
diff --git a/LayoutTests/svg/custom/simple-text-double-shadow-expected.txt b/LayoutTests/svg/custom/simple-text-double-shadow-expected.txt
deleted file mode 100644 (file)
index 0515cac..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (20,26) size 480x294
-    RenderSVGText {text} at (20,26) size 217x17 contains 1 chunk(s)
-      RenderSVGInlineText {#text} at (0,0) size 217x17
-        chunk 1 text run 1 at (20.00,40.00) startOffset 0 endOffset 34 width 217.00: "This text should appear only twice"
-    RenderSVGRect {rect} at (100,100) size 250x70 [fill={[type=SOLID] [color=#0000FF]}] [x=100.00] [y=100.00] [width=200.00] [height=20.00]
diff --git a/LayoutTests/svg/custom/simple-text-double-shadow.svg b/LayoutTests/svg/custom/simple-text-double-shadow.svg
deleted file mode 100644 (file)
index 42ecb2a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" id="asdf" style="-webkit-svg-shadow: 50px 50px 0px red;">
-<text x="20" y="40" fill="black">This text should appear only twice</text>
-<rect x="100" y="100" height="20" width="200" fill="blue" />
-</svg>
\ No newline at end of file
diff --git a/LayoutTests/svg/custom/transform-with-shadow-and-gradient.svg b/LayoutTests/svg/custom/transform-with-shadow-and-gradient.svg
deleted file mode 100644 (file)
index 35ccf37..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-    <title>None of the shapes should be pixelated, even when zoomed.</title>
-    <defs>
-        <linearGradient id="gradient">
-            <stop offset="0%" stop-color="blue"></stop>
-            <stop offset="100%" stop-color="green"></stop>
-        </linearGradient>
-    </defs>
-    <circle transform="scale(4,4)" style="-webkit-svg-shadow: black 1px 1px 1px;" fill="url(#gradient)" cx="25" cy="25" r="20"></circle>
-    <rect transform="scale(32,32)" style="-webkit-svg-shadow: black 1px 1px 1px;" fill="url(#gradient)" x="10" y="0.5" width="5" height="5"></rect>
-    <circle transform="scale(4,4)" style="-webkit-svg-shadow: black 1px 1px 1px;" stroke="url(#gradient)" fill="transparent" cx="25" cy="100" r="20"></circle>
-    <rect transform="scale(32,32)" style="-webkit-svg-shadow: black 1px 1px 1px;" stroke="url(#gradient)" fill="transparent" x="10" y="10" width="5" height="5"></rect>
-</svg>
diff --git a/LayoutTests/svg/filters/shadow-on-filter-expected.txt b/LayoutTests/svg/filters/shadow-on-filter-expected.txt
deleted file mode 100644 (file)
index c3ac235..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (50,50) size 480x480
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=objectBoundingBox]
-        [feGaussianBlur stdDeviation="0.01, 0.01"]
-          [feComposite operation="OVER"]
-            [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-            [feFlood flood-color="#008000" flood-opacity="1.00"]
-    RenderSVGRect {rect} at (50,50) size 480x480 [fill={[type=SOLID] [color=#008000]}] [x=200.00] [y=200.00] [width=300.00] [height=300.00]
-      [filter="filter"] RenderSVGResourceFilter {filter} at (50,50) size 480x480
diff --git a/LayoutTests/svg/filters/shadow-on-filter.svg b/LayoutTests/svg/filters/shadow-on-filter.svg
deleted file mode 100644 (file)
index ae82fdd..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-<filter primitiveUnits="objectBoundingBox" id="filter" x="-50%" y="-50%" width="160%" height="160%" style="-webkit-svg-shadow:10px 10px 3px purple;">
-<feFlood x="-40%" y="-40%" width="50%" height="50%" flood-color="red" style="-webkit-svg-shadow:-4px -4px 0px blue;" result="flood1"/>
-<feFlood x="-20%" y="-20%" width="50%" height="50%" flood-color="green" result="flood2"/>
-<feComposite in="flood1" in2="flood2" width="120%" height="120%" result="comp1" style="-webkit-svg-shadow:4px -1px 3px green;"/>
-<feGaussianBlur stdDeviation="0.0133" style="-webkit-svg-shadow: 6px 4px 8px yellow;"/>
-</filter>
-</defs>
-<rect x="200" y="200" width="300" height="300" fill="green" style="filter:url(#filter);"/>
-</svg>
diff --git a/LayoutTests/svg/filters/shadow-on-rect-with-filter-expected.txt b/LayoutTests/svg/filters/shadow-on-rect-with-filter-expected.txt
deleted file mode 100644 (file)
index 4462b30..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (35,35) size 495x495
-    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-      RenderSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=objectBoundingBox]
-        [feGaussianBlur stdDeviation="0.01, 0.01"]
-          [feComposite operation="OVER"]
-            [feFlood flood-color="#FF0000" flood-opacity="1.00"]
-            [feFlood flood-color="#008000" flood-opacity="1.00"]
-    RenderSVGRect {rect} at (20,20) size 510x510 [fill={[type=SOLID] [color=#008000]}] [x=200.00] [y=200.00] [width=300.00] [height=300.00]
-      [filter="filter"] RenderSVGResourceFilter {filter} at (50,50) size 480x480
diff --git a/LayoutTests/svg/filters/shadow-on-rect-with-filter.svg b/LayoutTests/svg/filters/shadow-on-rect-with-filter.svg
deleted file mode 100644 (file)
index a497cdc..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-<filter primitiveUnits="objectBoundingBox" id="filter" x="-50%" y="-50%" width="160%" height="160%" >
-<feFlood x="-40%" y="-40%" width="50%" height="50%" flood-color="red" result="flood1"/>
-<feFlood x="-20%" y="-20%" width="50%" height="50%" flood-color="green" result="flood2"/>
-<feComposite in="flood1" in2="flood2" width="120%" height="120%" result="comp1" />
-<feGaussianBlur stdDeviation="0.0133" />
-</filter>
-</defs>
-<rect x="200" y="200" width="300" height="300" fill="green" style="filter:url(#filter);-webkit-svg-shadow:-10px -10px 3px orange;"/>
-</svg>
diff --git a/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container-expected.txt b/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container-expected.txt
deleted file mode 100644 (file)
index b452c52..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
- (repaint rects
-  (rect 8 8 300 150)
-  (rect 8 8 300 150)
-)
-
diff --git a/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container.html b/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-container.html
deleted file mode 100644 (file)
index 602ee8d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-    <head>
-        <title>Test passes if shadow is not clipped after the shadow change.</title>
-        <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
-        <script>
-            function repaintTest() {
-                document.getElementById("g").setAttribute("style", "-webkit-svg-shadow: 50px 50px 100px black;")
-            }
-        </script>
-    </head>
-    <body onload="runRepaintTest()">
-        <svg xmlns="http://www.w3.org/2000/svg">
-            <g id="g" style="-webkit-svg-shadow: 50px 50px 10px black;">
-                <rect width="100" height="100" x="50" y="50" fill="black" />
-            </g>
-        </svg>
-    </body>
-</html>
diff --git a/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-expected.txt b/LayoutTests/svg/repaint/repaint-webkit-svg-shadow-expected.txt
deleted file mode 100644 (file)
index 52671e7..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (120,0) size 250x320
-    RenderSVGRect {rect} at (150,100) size 120x120 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,50.00)}] [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=50.00] [width=20.00] [height=20.00]
-    RenderSVGRect {rect} at (120,0) size 120x120 [fill={[type=SOLID] [color=#000000]}] [x=120.00] [y=0.00] [width=20.00] [height=20.00]
diff --git a/LayoutTests/svg/repaint/repaint-webkit-svg-shadow.svg b/LayoutTests/svg/repaint/repaint-webkit-svg-shadow.svg
deleted file mode 100644 (file)
index fa1a15b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="-webkit-svg-shadow: 100px 100px 0px #aaa;" onload="runRepaintTest()">
-    <title>Test passes if four rectangles are drawn after the animation.</title>
-    <rect id="a" width="20" height="20" x="0" y="50" fill="black" />
-    <rect id="b" width="20" height="20" x="120" y="0" fill="black" />
-    <script xlink:href="../../fast/repaint/resources/repaint.js"/>
-    <script>
-    var rect = document.getElementById("a");
-    function repaintTest() {
-        rect.setAttribute("transform", "translate(150, 50)")
-    }
-    </script>
-</svg>
index 7883d8d..933a39f 100644 (file)
@@ -1,3 +1,55 @@
+2018-11-10  Simon Fraser  <simon.fraser@apple.com>
+
+        Remove support for -webkit-svg-shadow
+        https://bugs.webkit.org/show_bug.cgi?id=187429
+        <rdar://problem/41920735>
+
+        Reviewed by Dean Jackson.
+        
+        -webkit-svg-shadow was a non-standard hack for online iWork, and they no longer use it,
+        so remove it. No other browser supports it, and chromestatus say it's used on less than
+        0.000001% of pages.
+
+        * css/CSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::valueForPropertyinStyle):
+        * css/CSSProperties.json:
+        * css/SVGCSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::svgPropertyValue):
+        * css/StyleBuilderCustom.h:
+        (WebCore::StyleBuilderCustom::applyInitialWebkitSvgShadow): Deleted.
+        (WebCore::StyleBuilderCustom::applyInheritWebkitSvgShadow): Deleted.
+        (WebCore::StyleBuilderCustom::applyValueWebkitSvgShadow): Deleted.
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::CSSPropertyParser::parseSingleValue):
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::didAttachChild):
+        * rendering/svg/RenderSVGImage.cpp:
+        (WebCore::RenderSVGImage::layout):
+        * rendering/svg/RenderSVGImage.h:
+        * rendering/svg/RenderSVGModelObject.cpp:
+        (WebCore::RenderSVGModelObject::RenderSVGModelObject):
+        * rendering/svg/RenderSVGModelObject.h:
+        (WebCore::RenderSVGModelObject::repaintRectInLocalCoordinatesExcludingSVGShadow const): Deleted.
+        (WebCore::RenderSVGModelObject::hasSVGShadow const): Deleted.
+        (WebCore::RenderSVGModelObject::setHasSVGShadow): Deleted.
+        * rendering/svg/RenderSVGRoot.cpp:
+        (WebCore::RenderSVGRoot::RenderSVGRoot):
+        (WebCore::RenderSVGRoot::updateCachedBoundaries):
+        * rendering/svg/RenderSVGRoot.h:
+        * rendering/svg/RenderSVGShape.cpp:
+        (WebCore::RenderSVGShape::updateRepaintBoundingBox):
+        * rendering/svg/RenderSVGShape.h:
+        * rendering/svg/SVGRenderSupport.cpp:
+        (WebCore::SVGRenderSupport::clippedOverflowRectForRepaint):
+        (WebCore::SVGRenderSupport::layoutChildren):
+        (WebCore::SVGRenderSupport::styleChanged):
+        (WebCore::SVGRenderSupport::repaintRectForRendererInLocalCoordinatesExcludingSVGShadow): Deleted.
+        (WebCore::SVGRenderSupport::rendererHasSVGShadow): Deleted.
+        (WebCore::SVGRenderSupport::setRendererHasSVGShadow): Deleted.
+        (WebCore::SVGRenderSupport::intersectRepaintRectWithShadows): Deleted.
+        (WebCore::SVGRenderSupport::childAdded): Deleted.
+        * rendering/svg/SVGRenderSupport.h:
+
 2018-11-10  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r238065.
index 33de727..f1b50fb 100644 (file)
@@ -459,7 +459,6 @@ static const CSSPropertyID computedProperties[] = {
     CSSPropertyWritingMode,
     CSSPropertyGlyphOrientationHorizontal,
     CSSPropertyGlyphOrientationVertical,
-    CSSPropertyWebkitSvgShadow,
     CSSPropertyVectorEffect,
     CSSPropertyX,
     CSSPropertyY
@@ -4141,7 +4140,6 @@ RefPtr<CSSValue> ComputedStyleExtractor::valueForPropertyinStyle(const RenderSty
         case CSSPropertyKerning:
         case CSSPropertyTextAnchor:
         case CSSPropertyVectorEffect:
-        case CSSPropertyWebkitSvgShadow:
             return svgPropertyValue(propertyID, DoNotUpdateLayout);
         case CSSPropertyCustom:
             ASSERT_NOT_REACHED();
index 6558d62..18c42ff 100644 (file)
         },
         "-webkit-svg-shadow": {
             "codegen-properties": {
-                "custom": "All",
-                "svg": true
+                "skip-codegen": true
             },
-            "status": "non-standard"
+            "status": "removed"
         },
         "-webkit-text-combine": {
             "inherited": true,
index 077c4f4..331e836 100644 (file)
@@ -184,8 +184,6 @@ RefPtr<CSSValue> ComputedStyleExtractor::svgPropertyValue(CSSPropertyID property
 
         return nullptr;
     }
-    case CSSPropertyWebkitSvgShadow:
-        return valueForShadow(svgStyle.shadow(), propertyID, *style);
     case CSSPropertyVectorEffect:
         return CSSPrimitiveValue::create(svgStyle.vectorEffect());
     case CSSPropertyMaskType:
index 2000fdc..c13ca8b 100644 (file)
@@ -106,7 +106,6 @@ public:
     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageRepeat);
     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageSlice);
     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageWidth);
-    DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitSvgShadow);
     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitTextEmphasisStyle);
     DECLARE_PROPERTY_CUSTOM_HANDLERS(Zoom);
 
@@ -1336,43 +1335,6 @@ inline void StyleBuilderCustom::applyValueStroke(StyleResolver& styleResolver, C
     svgStyle.setStrokePaint(paintType, color, url, styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
 }
 
-inline void StyleBuilderCustom::applyInitialWebkitSvgShadow(StyleResolver& styleResolver)
-{
-    SVGRenderStyle& svgStyle = styleResolver.style()->accessSVGStyle();
-    svgStyle.setShadow(nullptr);
-}
-
-inline void StyleBuilderCustom::applyInheritWebkitSvgShadow(StyleResolver& styleResolver)
-{
-    SVGRenderStyle& svgStyle = styleResolver.style()->accessSVGStyle();
-    const SVGRenderStyle& svgParentStyle = styleResolver.parentStyle()->svgStyle();
-    svgStyle.setShadow(svgParentStyle.shadow() ? std::make_unique<ShadowData>(*svgParentStyle.shadow()) : nullptr);
-}
-
-inline void StyleBuilderCustom::applyValueWebkitSvgShadow(StyleResolver& styleResolver, CSSValue& value)
-{
-    auto& svgStyle = styleResolver.style()->accessSVGStyle();
-    if (is<CSSPrimitiveValue>(value)) {
-        ASSERT(downcast<CSSPrimitiveValue>(value).valueID() == CSSValueNone);
-        svgStyle.setShadow(nullptr);
-        return;
-    }
-
-    auto& shadowValue = downcast<CSSShadowValue>(*downcast<CSSValueList>(value).itemWithoutBoundsCheck(0));
-    IntPoint location(shadowValue.x->computeLength<int>(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)),
-        shadowValue.y->computeLength<int>(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)));
-    int blur = shadowValue.blur ? shadowValue.blur->computeLength<int>(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)) : 0;
-    Color color;
-    if (shadowValue.color)
-        color = styleResolver.colorFromPrimitiveValue(*shadowValue.color);
-
-    // -webkit-svg-shadow does should not have a spread or style
-    ASSERT(!shadowValue.spread);
-    ASSERT(!shadowValue.style);
-
-    svgStyle.setShadow(std::make_unique<ShadowData>(location, blur, 0, Normal, false, color.isValid() ? color : Color::transparent));
-}
-
 inline void StyleBuilderCustom::applyInitialContent(StyleResolver& styleResolver)
 {
     styleResolver.style()->clearContent();
index 99d5f3e..52f28f2 100644 (file)
@@ -4122,7 +4122,6 @@ RefPtr<CSSValue> CSSPropertyParser::parseSingleValue(CSSPropertyID property, CSS
     case CSSPropertyTextShadow: // CSS2 property, dropped in CSS2.1, back in CSS3, so treat as CSS3
     case CSSPropertyBoxShadow:
     case CSSPropertyWebkitBoxShadow:
-    case CSSPropertyWebkitSvgShadow:
         return consumeShadow(m_range, m_context.mode, property == CSSPropertyBoxShadow || property == CSSPropertyWebkitBoxShadow);
     case CSSPropertyFilter:
 #if ENABLE(FILTERS_LEVEL_2)
index 908b85a..4a1c0ee 100644 (file)
@@ -467,7 +467,6 @@ void RenderElement::didAttachChild(RenderObject& child, RenderObject*)
     // and stop creating layers at all for these cases - they're not used anyways.
     if (child.hasLayer() && !layerCreationAllowedForSubtree())
         downcast<RenderLayerModelObject>(child).layer()->removeOnlyThisLayer();
-    SVGRenderSupport::childAdded(*this, child);
 }
 
 RenderObject* RenderElement::attachRendererInternal(RenderPtr<RenderObject> child, RenderObject* beforeChild)
index 74a9356..0a58f8f 100644 (file)
@@ -120,7 +120,6 @@ void RenderSVGImage::layout()
         SVGRenderSupport::intersectRepaintRectWithResources(*this, m_repaintBoundingBoxExcludingShadow);
 
         m_repaintBoundingBox = m_repaintBoundingBoxExcludingShadow;
-        SVGRenderSupport::intersectRepaintRectWithShadows(*this, m_repaintBoundingBox);
 
         m_needsBoundariesUpdate = false;
     }
index a227c16..2a1c8a1 100644 (file)
@@ -65,7 +65,6 @@ private:
     FloatRect objectBoundingBox() const override { return m_objectBoundingBox; }
     FloatRect strokeBoundingBox() const override { return m_objectBoundingBox; }
     FloatRect repaintRectInLocalCoordinates() const override { return m_repaintBoundingBox; }
-    FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const override { return m_repaintBoundingBoxExcludingShadow; }
 
     void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) override;
 
index 153f6f1..7e3448a 100644 (file)
@@ -44,7 +44,6 @@ WTF_MAKE_ISO_ALLOCATED_IMPL(RenderSVGModelObject);
 
 RenderSVGModelObject::RenderSVGModelObject(SVGElement& element, RenderStyle&& style)
     : RenderElement(element, WTFMove(style), 0)
-    , m_hasSVGShadow(false)
 {
 }
 
index c4e703d..07ec0f5 100644 (file)
@@ -60,10 +60,6 @@ public:
     static bool checkIntersection(RenderElement*, const FloatRect&);
     static bool checkEnclosure(RenderElement*, const FloatRect&);
 
-    virtual FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const { return repaintRectInLocalCoordinates(); }
-    bool hasSVGShadow() const { return m_hasSVGShadow; }
-    void setHasSVGShadow(bool hasShadow) { m_hasSVGShadow = hasShadow; }
-
     SVGElement& element() const { return downcast<SVGElement>(nodeForNonAnonymous()); }
 
 protected:
@@ -77,7 +73,6 @@ private:
     // This method should never be called, SVG uses a different nodeAtPoint method
     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
     void absoluteFocusRingQuads(Vector<FloatQuad>&) final;
-    bool m_hasSVGShadow;
 };
 
 } // namespace WebCore
index a349137..b86f5e5 100644 (file)
@@ -56,7 +56,6 @@ RenderSVGRoot::RenderSVGRoot(SVGSVGElement& element, RenderStyle&& style)
     , m_objectBoundingBoxValid(false)
     , m_isLayoutSizeChanged(false)
     , m_needsBoundariesOrTransformUpdate(true)
-    , m_hasSVGShadow(false)
     , m_hasBoxDecorations(false)
 {
 }
@@ -396,7 +395,6 @@ void RenderSVGRoot::updateCachedBoundaries()
     m_repaintBoundingBoxExcludingShadow.inflate(horizontalBorderAndPaddingExtent());
 
     m_repaintBoundingBox = m_repaintBoundingBoxExcludingShadow;
-    SVGRenderSupport::intersectRepaintRectWithShadows(*this, m_repaintBoundingBox);
 }
 
 bool RenderSVGRoot::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction)
index 0d92199..0743a75 100644 (file)
@@ -62,9 +62,6 @@ public:
     // method during layout when they are invalidated by a filter.
     static void addResourceForClientInvalidation(RenderSVGResourceContainer*);
 
-    bool hasSVGShadow() const { return m_hasSVGShadow; }
-    void setHasSVGShadow(bool hasShadow) { m_hasSVGShadow = hasShadow; }
-
 private:
     void element() const = delete;
 
@@ -91,7 +88,6 @@ private:
     FloatRect objectBoundingBox() const override { return m_objectBoundingBox; }
     FloatRect strokeBoundingBox() const override { return m_strokeBoundingBox; }
     FloatRect repaintRectInLocalCoordinates() const override { return m_repaintBoundingBox; }
-    FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const { return m_repaintBoundingBoxExcludingShadow; }
 
     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
 
@@ -119,7 +115,6 @@ private:
     HashSet<RenderSVGResourceContainer*> m_resourcesNeedingToInvalidateClients;
     bool m_isLayoutSizeChanged : 1;
     bool m_needsBoundariesOrTransformUpdate : 1;
-    bool m_hasSVGShadow : 1;
     bool m_hasBoxDecorations : 1;
 };
 
index de9a277..ea43610 100644 (file)
@@ -463,7 +463,6 @@ void RenderSVGShape::updateRepaintBoundingBox()
     SVGRenderSupport::intersectRepaintRectWithResources(*this, m_repaintBoundingBoxExcludingShadow);
 
     m_repaintBoundingBox = m_repaintBoundingBoxExcludingShadow;
-    SVGRenderSupport::intersectRepaintRectWithShadows(*this, m_repaintBoundingBox);
 }
 
 float RenderSVGShape::strokeWidth() const
index 52c3c14..6463cfc 100644 (file)
@@ -99,7 +99,6 @@ private:
     bool strokeContains(const FloatPoint&, bool requiresStroke = true);
 
     FloatRect repaintRectInLocalCoordinates() const final { return m_repaintBoundingBox; }
-    FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const final { return m_repaintBoundingBoxExcludingShadow; }
     const AffineTransform& localToParentTransform() const final { return m_localTransform; }
     AffineTransform localTransform() const final { return m_localTransform; }
 
index b24bbf4..1023232 100644 (file)
 
 namespace WebCore {
 
-FloatRect SVGRenderSupport::repaintRectForRendererInLocalCoordinatesExcludingSVGShadow(const RenderElement& renderer)
-{
-    // FIXME: Add support for RenderSVGBlock.
-
-    if (is<RenderSVGModelObject>(renderer))
-        return downcast<RenderSVGModelObject>(renderer).repaintRectInLocalCoordinatesExcludingSVGShadow();
-
-    return renderer.repaintRectInLocalCoordinates();
-}
-
 LayoutRect SVGRenderSupport::clippedOverflowRectForRepaint(const RenderElement& renderer, const RenderLayerModelObject* repaintContainer)
 {
     // Return early for any cases where we don't actually paint
@@ -65,7 +55,7 @@ LayoutRect SVGRenderSupport::clippedOverflowRectForRepaint(const RenderElement&
 
     // Pass our local paint rect to computeFloatVisibleRectInContainer() which will
     // map to parent coords and recurse up the parent chain.
-    FloatRect repaintRect = repaintRectForRendererInLocalCoordinatesExcludingSVGShadow(renderer);
+    FloatRect repaintRect = renderer.repaintRectInLocalCoordinates();
     const SVGRenderStyle& svgStyle = renderer.style().svgStyle();
     if (const ShadowData* shadow = svgStyle.shadow())
         shadow->adjustRectForShadow(repaintRect);
@@ -245,21 +235,12 @@ void SVGRenderSupport::layoutChildren(RenderElement& start, bool selfNeedsLayout
 {
     bool layoutSizeChanged = layoutSizeOfNearestViewportChanged(start);
     bool transformChanged = transformToRootChanged(&start);
-    bool hasSVGShadow = rendererHasSVGShadow(start);
-    bool needsBoundariesUpdate = start.needsBoundariesUpdate();
     HashSet<RenderElement*> elementsThatDidNotReceiveLayout;
 
     for (auto& child : childrenOfType<RenderObject>(start)) {
         bool needsLayout = selfNeedsLayout;
         bool childEverHadLayout = child.everHadLayout();
 
-        if (needsBoundariesUpdate && hasSVGShadow) {
-            // If we have a shadow, our shadow is baked into our children's cached boundaries,
-            // so they need to update.
-            child.setNeedsBoundariesUpdate();
-            needsLayout = true;
-        }
-
         if (transformChanged) {
             // If the transform changed we need to update the text metrics (note: this also happens for layoutSizeChanged=true).
             if (is<RenderSVGText>(child))
@@ -320,61 +301,6 @@ bool SVGRenderSupport::isOverflowHidden(const RenderElement& renderer)
     return renderer.style().overflowX() == Overflow::Hidden || renderer.style().overflowX() == Overflow::Scroll;
 }
 
-bool SVGRenderSupport::rendererHasSVGShadow(const RenderObject& renderer)
-{
-    // FIXME: Add support for RenderSVGBlock.
-
-    if (is<RenderSVGModelObject>(renderer))
-        return downcast<RenderSVGModelObject>(renderer).hasSVGShadow();
-
-    if (is<RenderSVGRoot>(renderer))
-        return downcast<RenderSVGRoot>(renderer).hasSVGShadow();
-
-    return false;
-}
-
-void SVGRenderSupport::setRendererHasSVGShadow(RenderObject& renderer, bool hasShadow)
-{
-    // FIXME: Add support for RenderSVGBlock.
-
-    if (is<RenderSVGModelObject>(renderer)) {
-        downcast<RenderSVGModelObject>(renderer).setHasSVGShadow(hasShadow);
-        return;
-    }
-
-    if (is<RenderSVGRoot>(renderer))
-        downcast<RenderSVGRoot>(renderer).setHasSVGShadow(hasShadow);
-}
-
-void SVGRenderSupport::intersectRepaintRectWithShadows(const RenderElement& renderer, FloatRect& repaintRect)
-{
-    // Since -webkit-svg-shadow enables shadow drawing for its children, but its children
-    // don't inherit the shadow in their SVGRenderStyle, we need to search our parents for
-    // shadows in order to correctly compute our repaint rect.
-
-    auto currentObject = &renderer;
-
-    AffineTransform localToRootTransform;
-
-    while (currentObject && rendererHasSVGShadow(*currentObject)) {
-        const RenderStyle& style = currentObject->style();
-        const SVGRenderStyle& svgStyle = style.svgStyle();
-        if (const ShadowData* shadow = svgStyle.shadow())
-            shadow->adjustRectForShadow(repaintRect);
-
-        repaintRect = currentObject->localToParentTransform().mapRect(repaintRect);
-        localToRootTransform *= currentObject->localToParentTransform();
-
-        currentObject = currentObject->parent();
-    };
-
-    if (localToRootTransform.isIdentity())
-        return;
-
-    AffineTransform rootToLocalTransform = localToRootTransform.inverse().value_or(AffineTransform());
-    repaintRect = rootToLocalTransform.mapRect(repaintRect);
-}
-
 void SVGRenderSupport::intersectRepaintRectWithResources(const RenderElement& renderer, FloatRect& repaintRect)
 {
     auto* resources = SVGResourcesCache::cachedResourcesForRenderer(renderer);
@@ -523,16 +449,8 @@ void SVGRenderSupport::applyStrokeStyleToContext(GraphicsContext* context, const
     }
 }
 
-void SVGRenderSupport::childAdded(RenderElement& parent, RenderObject& child)
-{
-    SVGRenderSupport::setRendererHasSVGShadow(child, SVGRenderSupport::rendererHasSVGShadow(parent) || SVGRenderSupport::rendererHasSVGShadow(child));
-}
-
 void SVGRenderSupport::styleChanged(RenderElement& renderer, const RenderStyle* oldStyle)
 {
-    auto parent = renderer.parent();
-    SVGRenderSupport::setRendererHasSVGShadow(renderer, (parent && SVGRenderSupport::rendererHasSVGShadow(*parent)) || renderer.style().svgStyle().shadow());
-
 #if ENABLE(CSS_COMPOSITING)
     if (renderer.element() && renderer.element()->isSVGElement() && (!oldStyle || renderer.style().hasBlendMode() != oldStyle->hasBlendMode()))
         SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending(renderer);
index f315062..2b77c2a 100644 (file)
@@ -51,8 +51,6 @@ public:
     // Helper function determining wheter overflow is hidden
     static bool isOverflowHidden(const RenderElement&);
 
-    static void intersectRepaintRectWithShadows(const RenderElement&, FloatRect&);
-
     // Calculates the repaintRect in combination with filter, clipper and masker in local coordinates.
     static void intersectRepaintRectWithResources(const RenderElement&, FloatRect&);
 
@@ -66,7 +64,6 @@ public:
     static bool paintInfoIntersectsRepaintRect(const FloatRect& localRepaintRect, const AffineTransform& localTransform, const PaintInfo&);
 
     // Important functions used by nearly all SVG renderers centralizing coordinate transformations / repaint rect calculations
-    static FloatRect repaintRectForRendererInLocalCoordinatesExcludingSVGShadow(const RenderElement&);
     static LayoutRect clippedOverflowRectForRepaint(const RenderElement&, const RenderLayerModelObject* repaintContainer);
     static std::optional<FloatRect> computeFloatVisibleRectInContainer(const RenderElement&, const FloatRect&, const RenderLayerModelObject* container, RenderObject::VisibleRectContext);
     static const RenderElement& localToParentTransform(const RenderElement&, AffineTransform &);
@@ -82,11 +79,6 @@ public:
 
     static void clipContextToCSSClippingArea(GraphicsContext&, const RenderElement& renderer);
 
-    // Helper functions to keep track of whether a renderer has an SVG shadow applied.
-    static bool rendererHasSVGShadow(const RenderObject&);
-    static void setRendererHasSVGShadow(RenderObject&, bool hasShadow);
-
-    static void childAdded(RenderElement& parent, RenderObject& child);
     static void styleChanged(RenderElement&, const RenderStyle*);
 
 #if ENABLE(CSS_COMPOSITING)