Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Dec 2007 00:27:57 +0000 (00:27 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Dec 2007 00:27:57 +0000 (00:27 +0000)
commitf225d8d1ea6658c28b8c622d59d74e827fdc5d4d
treeaae62c37028ec852a45a6fe42eb3cef1f6f833a8
parent811316d520f1284cb247383ffff4f28e5653d824
Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.

Reviewed by Sam W.

Fixes <rdar://problem/5620249> Must disable SVG animation
      <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior

In order to allow finer grained control over the set of SVG features
this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
distinct flags:
  ENABLE_SVG_ANIMATION
  ENABLE_SVG_FILTERS
  ENABLE_SVG_FONTS
  ENABLE_SVG_AS_IMAGE
  ENABLE_SVG_USE

by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
243 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/Configurations/JavaScriptCore.xcconfig
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/window-properties-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt
LayoutTests/platform/mac/svg/custom/empty-merge-expected.txt
LayoutTests/platform/mac/svg/custom/feComponentTransfer-Discrete-expected.txt
LayoutTests/platform/mac/svg/custom/feComponentTransfer-Gamma-expected.txt
LayoutTests/platform/mac/svg/custom/feComponentTransfer-Linear-expected.txt
LayoutTests/platform/mac/svg/custom/feComponentTransfer-Table-expected.txt
LayoutTests/platform/mac/svg/custom/feDisplacementMap-01-expected.txt
LayoutTests/platform/mac/svg/custom/filter-source-alpha-expected.txt
LayoutTests/platform/mac/svg/custom/image-with-transform-clip-filter-expected.txt
LayoutTests/platform/mac/svg/custom/invalid-css-expected.txt
LayoutTests/platform/mac/svg/custom/non-opaque-filters-expected.txt
LayoutTests/platform/mac/svg/custom/text-filter-expected.txt
LayoutTests/platform/mac/svg/custom/visibility-override-filter-expected.txt
LayoutTests/svg/batik/filters/filterRegions-expected.txt
LayoutTests/svg/batik/text/textEffect-expected.txt
LayoutTests/svg/batik/text/textEffect3-expected.txt
LayoutTests/svg/batik/text/textFeatures-expected.txt
LayoutTests/svg/batik/text/textProperties-expected.txt
LayoutTests/svg/custom/js-svg-constructors-expected.txt
LayoutTests/svg/custom/js-svg-constructors.svg
LayoutTests/svg/dom/font-face-elements-expected.txt
LayoutTests/svg/webarchive/svg-feimage-subresources-expected.txt
WebCore/ChangeLog
WebCore/Configurations/WebCore.xcconfig
WebCore/DerivedSources.make
WebCore/WebCore.SVG.Animation.exp [new file with mode: 0644]
WebCore/WebCore.SVG.Filters.exp [new file with mode: 0644]
WebCore/WebCore.SVG.exp
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.vcproj/build-generated-files.sh
WebCore/bindings/js/JSSVGElementWrapperFactory.cpp
WebCore/bindings/objc/DOM.mm
WebCore/dom/make_names.pl
WebCore/loader/CachedImage.cpp
WebCore/page/DOMWindow.idl
WebCore/rendering/RenderPath.cpp
WebCore/rendering/RenderSVGContainer.cpp
WebCore/rendering/RenderSVGImage.cpp
WebCore/rendering/RenderSVGRoot.cpp
WebCore/rendering/RenderSVGText.cpp
WebCore/rendering/SVGRenderSupport.cpp
WebCore/svg/SVGAnimateElement.cpp
WebCore/svg/SVGAnimateElement.h
WebCore/svg/SVGAnimateElement.idl
WebCore/svg/SVGAnimateMotionElement.cpp
WebCore/svg/SVGAnimateMotionElement.h
WebCore/svg/SVGAnimateTransformElement.cpp
WebCore/svg/SVGAnimateTransformElement.h
WebCore/svg/SVGAnimateTransformElement.idl
WebCore/svg/SVGComponentTransferFunctionElement.cpp
WebCore/svg/SVGComponentTransferFunctionElement.h
WebCore/svg/SVGComponentTransferFunctionElement.idl
WebCore/svg/SVGDocumentExtensions.cpp
WebCore/svg/SVGFEBlendElement.cpp
WebCore/svg/SVGFEBlendElement.h
WebCore/svg/SVGFEBlendElement.idl
WebCore/svg/SVGFEColorMatrixElement.cpp
WebCore/svg/SVGFEColorMatrixElement.h
WebCore/svg/SVGFEColorMatrixElement.idl
WebCore/svg/SVGFEComponentTransferElement.cpp
WebCore/svg/SVGFEComponentTransferElement.h
WebCore/svg/SVGFEComponentTransferElement.idl
WebCore/svg/SVGFECompositeElement.cpp
WebCore/svg/SVGFECompositeElement.h
WebCore/svg/SVGFECompositeElement.idl
WebCore/svg/SVGFEDiffuseLightingElement.cpp
WebCore/svg/SVGFEDiffuseLightingElement.h
WebCore/svg/SVGFEDiffuseLightingElement.idl
WebCore/svg/SVGFEDisplacementMapElement.cpp
WebCore/svg/SVGFEDisplacementMapElement.h
WebCore/svg/SVGFEDisplacementMapElement.idl
WebCore/svg/SVGFEDistantLightElement.cpp
WebCore/svg/SVGFEDistantLightElement.h
WebCore/svg/SVGFEDistantLightElement.idl
WebCore/svg/SVGFEFloodElement.cpp
WebCore/svg/SVGFEFloodElement.h
WebCore/svg/SVGFEFloodElement.idl
WebCore/svg/SVGFEFuncAElement.cpp
WebCore/svg/SVGFEFuncAElement.h
WebCore/svg/SVGFEFuncAElement.idl
WebCore/svg/SVGFEFuncBElement.cpp
WebCore/svg/SVGFEFuncBElement.h
WebCore/svg/SVGFEFuncBElement.idl
WebCore/svg/SVGFEFuncGElement.cpp
WebCore/svg/SVGFEFuncGElement.h
WebCore/svg/SVGFEFuncGElement.idl
WebCore/svg/SVGFEFuncRElement.cpp
WebCore/svg/SVGFEFuncRElement.h
WebCore/svg/SVGFEFuncRElement.idl
WebCore/svg/SVGFEGaussianBlurElement.cpp
WebCore/svg/SVGFEGaussianBlurElement.h
WebCore/svg/SVGFEGaussianBlurElement.idl
WebCore/svg/SVGFEImageElement.cpp
WebCore/svg/SVGFEImageElement.h
WebCore/svg/SVGFEImageElement.idl
WebCore/svg/SVGFELightElement.cpp
WebCore/svg/SVGFELightElement.h
WebCore/svg/SVGFEMergeElement.cpp
WebCore/svg/SVGFEMergeElement.h
WebCore/svg/SVGFEMergeElement.idl
WebCore/svg/SVGFEMergeNodeElement.cpp
WebCore/svg/SVGFEMergeNodeElement.h
WebCore/svg/SVGFEMergeNodeElement.idl
WebCore/svg/SVGFEOffsetElement.cpp
WebCore/svg/SVGFEOffsetElement.h
WebCore/svg/SVGFEOffsetElement.idl
WebCore/svg/SVGFEPointLightElement.cpp
WebCore/svg/SVGFEPointLightElement.h
WebCore/svg/SVGFEPointLightElement.idl
WebCore/svg/SVGFESpecularLightingElement.cpp
WebCore/svg/SVGFESpecularLightingElement.h
WebCore/svg/SVGFESpecularLightingElement.idl
WebCore/svg/SVGFESpotLightElement.cpp
WebCore/svg/SVGFESpotLightElement.h
WebCore/svg/SVGFESpotLightElement.idl
WebCore/svg/SVGFETileElement.cpp
WebCore/svg/SVGFETileElement.h
WebCore/svg/SVGFETileElement.idl
WebCore/svg/SVGFETurbulenceElement.cpp
WebCore/svg/SVGFETurbulenceElement.h
WebCore/svg/SVGFETurbulenceElement.idl
WebCore/svg/SVGFilterElement.cpp
WebCore/svg/SVGFilterElement.h
WebCore/svg/SVGFilterElement.idl
WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
WebCore/svg/SVGTimer.cpp
WebCore/svg/SVGUseElement.cpp
WebCore/svg/SVGUseElement.h
WebCore/svg/TimeScheduler.cpp
WebCore/svg/graphics/SVGResourceFilter.cpp
WebCore/svg/graphics/SVGResourceFilter.h
WebCore/svg/graphics/cg/SVGResourceFilterCg.cpp
WebCore/svg/graphics/cg/SVGResourceFilterCg.mm
WebCore/svg/graphics/filters/SVGDistantLightSource.h
WebCore/svg/graphics/filters/SVGFEBlend.cpp
WebCore/svg/graphics/filters/SVGFEBlend.h
WebCore/svg/graphics/filters/SVGFEColorMatrix.cpp
WebCore/svg/graphics/filters/SVGFEColorMatrix.h
WebCore/svg/graphics/filters/SVGFEComponentTransfer.cpp
WebCore/svg/graphics/filters/SVGFEComponentTransfer.h
WebCore/svg/graphics/filters/SVGFEComposite.cpp
WebCore/svg/graphics/filters/SVGFEComposite.h
WebCore/svg/graphics/filters/SVGFEConvolveMatrix.cpp
WebCore/svg/graphics/filters/SVGFEConvolveMatrix.h
WebCore/svg/graphics/filters/SVGFEDiffuseLighting.cpp
WebCore/svg/graphics/filters/SVGFEDiffuseLighting.h
WebCore/svg/graphics/filters/SVGFEDisplacementMap.cpp
WebCore/svg/graphics/filters/SVGFEDisplacementMap.h
WebCore/svg/graphics/filters/SVGFEFlood.cpp
WebCore/svg/graphics/filters/SVGFEFlood.h
WebCore/svg/graphics/filters/SVGFEGaussianBlur.cpp
WebCore/svg/graphics/filters/SVGFEGaussianBlur.h
WebCore/svg/graphics/filters/SVGFEImage.cpp
WebCore/svg/graphics/filters/SVGFEImage.h
WebCore/svg/graphics/filters/SVGFEMerge.cpp
WebCore/svg/graphics/filters/SVGFEMerge.h
WebCore/svg/graphics/filters/SVGFEMorphology.cpp
WebCore/svg/graphics/filters/SVGFEMorphology.h
WebCore/svg/graphics/filters/SVGFEOffset.cpp
WebCore/svg/graphics/filters/SVGFEOffset.h
WebCore/svg/graphics/filters/SVGFESpecularLighting.cpp
WebCore/svg/graphics/filters/SVGFESpecularLighting.h
WebCore/svg/graphics/filters/SVGFETile.h
WebCore/svg/graphics/filters/SVGFETurbulence.cpp
WebCore/svg/graphics/filters/SVGFETurbulence.h
WebCore/svg/graphics/filters/SVGFilterEffect.cpp
WebCore/svg/graphics/filters/SVGFilterEffect.h
WebCore/svg/graphics/filters/SVGLightSource.cpp
WebCore/svg/graphics/filters/SVGLightSource.h
WebCore/svg/graphics/filters/SVGPointLightSource.h
WebCore/svg/graphics/filters/SVGSpotLightSource.h
WebCore/svg/graphics/filters/cg/SVGFEBlendCg.mm
WebCore/svg/graphics/filters/cg/SVGFEColorMatrixCg.mm
WebCore/svg/graphics/filters/cg/SVGFEComponentTransferCg.mm
WebCore/svg/graphics/filters/cg/SVGFECompositeCg.mm
WebCore/svg/graphics/filters/cg/SVGFEDiffuseLightingCg.mm
WebCore/svg/graphics/filters/cg/SVGFEDisplacementMapCg.mm
WebCore/svg/graphics/filters/cg/SVGFEFloodCg.mm
WebCore/svg/graphics/filters/cg/SVGFEGaussianBlurCg.mm
WebCore/svg/graphics/filters/cg/SVGFEHelpersCg.h
WebCore/svg/graphics/filters/cg/SVGFEHelpersCg.mm
WebCore/svg/graphics/filters/cg/SVGFEImageCg.mm
WebCore/svg/graphics/filters/cg/SVGFEMergeCg.mm
WebCore/svg/graphics/filters/cg/SVGFEOffsetCg.mm
WebCore/svg/graphics/filters/cg/SVGFESpecularLightingCg.mm
WebCore/svg/graphics/filters/cg/SVGFETileCg.mm
WebCore/svg/graphics/filters/cg/SVGFilterEffectCg.mm
WebCore/svg/graphics/filters/cg/WKArithmeticFilter.h
WebCore/svg/graphics/filters/cg/WKArithmeticFilter.m
WebCore/svg/graphics/filters/cg/WKComponentMergeFilter.h
WebCore/svg/graphics/filters/cg/WKComponentMergeFilter.m
WebCore/svg/graphics/filters/cg/WKDiffuseLightingFilter.h
WebCore/svg/graphics/filters/cg/WKDiffuseLightingFilter.m
WebCore/svg/graphics/filters/cg/WKDiscreteTransferFilter.h
WebCore/svg/graphics/filters/cg/WKDiscreteTransferFilter.m
WebCore/svg/graphics/filters/cg/WKDisplacementMapFilter.h
WebCore/svg/graphics/filters/cg/WKDisplacementMapFilter.m
WebCore/svg/graphics/filters/cg/WKDistantLightFilter.h
WebCore/svg/graphics/filters/cg/WKDistantLightFilter.m
WebCore/svg/graphics/filters/cg/WKGammaTransferFilter.h
WebCore/svg/graphics/filters/cg/WKGammaTransferFilter.m
WebCore/svg/graphics/filters/cg/WKIdentityTransferFilter.h
WebCore/svg/graphics/filters/cg/WKIdentityTransferFilter.m
WebCore/svg/graphics/filters/cg/WKLinearTransferFilter.h
WebCore/svg/graphics/filters/cg/WKLinearTransferFilter.m
WebCore/svg/graphics/filters/cg/WKNormalMapFilter.h
WebCore/svg/graphics/filters/cg/WKNormalMapFilter.m
WebCore/svg/graphics/filters/cg/WKPointLightFilter.h
WebCore/svg/graphics/filters/cg/WKPointLightFilter.m
WebCore/svg/graphics/filters/cg/WKSpecularLightingFilter.h
WebCore/svg/graphics/filters/cg/WKSpecularLightingFilter.m
WebCore/svg/graphics/filters/cg/WKSpotLightFilter.h
WebCore/svg/graphics/filters/cg/WKSpotLightFilter.m
WebCore/svg/graphics/filters/cg/WKTableTransferFilter.h
WebCore/svg/graphics/filters/cg/WKTableTransferFilter.m
WebCore/svg/graphics/mac/SVGResourceFilterPlatformDataMac.h
WebCore/svg/graphics/mac/SVGResourceFilterPlatformDataMac.mm
WebCore/svg/svgtags.in
WebKit/mac/ChangeLog
WebKit/mac/Configurations/WebKit.xcconfig
WebKit/mac/DOM/WebDOMOperations.mm
WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit