Reviewed by Darin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10247
REGRESSION: Unable to build webkit without SVG/XPATH
* bindings/js/kjs_binding.cpp:
(KJS::setDOMException):
* bindings/js/kjs_dom.cpp:
(KJS::toJS):
* bindings/js/kjs_html.cpp:
(KJS::HTMLElementFunction::callAsFunction):
* bindings/js/kjs_proxy.cpp:
* bindings/js/kjs_proxy.h:
* bindings/objc/DOMInternal.h:
* bindings/objc/DOMInternal.mm:
(raiseDOMException):
* bindings/objc/DOMXPath.mm:
* bindings/objc/DOMXPathInternal.h:
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/mac/WebCoreFrameBridge.mm:
(+[WebCoreFrameBridge supportedNonImageMIMETypes]):
* css/CSSGrammar.y:
* css/CSSStyleDeclaration.cpp:
(WebCore::propertyID):
* css/cssparser.cpp:
(WebCore::CSSParser::parseValue):
* css/cssparser.h:
* css/cssstyleselector.cpp:
(WebCore::CSSStyleSelector::loadDefaultStyle):
(WebCore::CSSStyleSelector::applyProperty):
* css/cssstyleselector.h:
* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::~Document):
(WebCore::Document::createElementNS):
(WebCore::Document::implicitClose):
(WebCore::Document::recalcStyleSelector):
(WebCore::Document::createEvent):
* dom/Document.h:
* dom/Document.idl:
* dom/Node.cpp:
(WebCore::Node::createRendererIfNeeded):
* dom/Node.h:
* dom/XMLTokenizer.cpp:
(WebCore::XMLTokenizer::endElementNs):
(WebCore::XMLTokenizer::insertErrorMessageBlock):
* html/HTMLEmbedElement.cpp:
* html/HTMLEmbedElement.h:
* html/HTMLObjectElement.cpp:
* html/HTMLObjectElement.h:
* kcanvas/KCanvasCreator.cpp:
* kcanvas/KCanvasCreator.h:
* kcanvas/KCanvasFilters.cpp:
* kcanvas/KCanvasFilters.h:
* kcanvas/KCanvasImage.h:
* kcanvas/KCanvasMatrix.cpp:
* kcanvas/KCanvasMatrix.h:
* kcanvas/KCanvasPath.cpp:
* kcanvas/KCanvasPath.h:
* kcanvas/KCanvasResourceListener.h:
* kcanvas/KCanvasResources.cpp:
* kcanvas/KCanvasResources.h:
* kcanvas/KCanvasTreeDebug.cpp:
* kcanvas/RenderForeignObject.cpp:
* kcanvas/RenderForeignObject.h:
* kcanvas/RenderPath.cpp:
* kcanvas/RenderPath.h:
* kcanvas/RenderSVGContainer.cpp:
* kcanvas/RenderSVGContainer.h:
* kcanvas/RenderSVGImage.cpp:
* kcanvas/RenderSVGImage.h:
* kcanvas/RenderSVGText.cpp:
* kcanvas/RenderSVGText.h:
* kcanvas/device/KRenderingDevice.cpp:
* kcanvas/device/KRenderingDevice.h:
* kcanvas/device/KRenderingFillPainter.cpp:
* kcanvas/device/KRenderingFillPainter.h:
* kcanvas/device/KRenderingPaintServer.h:
* kcanvas/device/KRenderingPaintServerGradient.cpp:
* kcanvas/device/KRenderingPaintServerGradient.h:
* kcanvas/device/KRenderingPaintServerPattern.cpp:
* kcanvas/device/KRenderingPaintServerPattern.h:
* kcanvas/device/KRenderingPaintServerSolid.cpp:
* kcanvas/device/KRenderingPaintServerSolid.h:
* kcanvas/device/KRenderingStrokePainter.cpp:
* kcanvas/device/KRenderingStrokePainter.h:
* kcanvas/device/quartz/KCanvasFilterQuartz.h:
* kcanvas/device/quartz/KCanvasFilterQuartz.mm:
* kcanvas/device/quartz/KCanvasItemQuartz.mm:
* kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
* kcanvas/device/quartz/KCanvasPathQuartz.mm:
* kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
* kcanvas/device/quartz/KRenderingDeviceQuartz.h:
* kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
* kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
* kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
* kcanvas/device/quartz/QuartzSupport.h:
* kcanvas/device/quartz/QuartzSupport.mm:
* ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
* ksvg2/bindings/js/JSSVGElementWrapperFactory.h:
* ksvg2/css/SVGCSSParser.cpp:
* ksvg2/css/SVGCSSStyleSelector.cpp:
* ksvg2/css/SVGRenderStyle.cpp:
* ksvg2/css/SVGRenderStyle.h:
* ksvg2/css/SVGRenderStyleDefs.cpp:
* ksvg2/css/SVGRenderStyleDefs.h:
* ksvg2/ecma/GlobalObject.cpp:
* ksvg2/ecma/GlobalObject.h:
* ksvg2/events/JSSVGLazyEventListener.cpp:
* ksvg2/events/JSSVGLazyEventListener.h:
* ksvg2/events/SVGZoomEvent.cpp:
* ksvg2/events/SVGZoomEvent.h:
* ksvg2/ksvg.h:
* ksvg2/misc/KCanvasRenderingStyle.cpp:
* ksvg2/misc/KCanvasRenderingStyle.h:
* ksvg2/misc/KSVGTimeScheduler.cpp:
* ksvg2/misc/KSVGTimeScheduler.h:
* ksvg2/misc/SVGDocumentExtensions.cpp:
* ksvg2/misc/SVGDocumentExtensions.h:
* ksvg2/misc/SVGImageLoader.cpp:
* ksvg2/misc/SVGImageLoader.h:
* ksvg2/svg/DOMList.h:
* ksvg2/svg/SVGAElement.cpp:
* ksvg2/svg/SVGAElement.h:
* ksvg2/svg/SVGAngle.cpp:
* ksvg2/svg/SVGAngle.h:
* ksvg2/svg/SVGAnimateColorElement.cpp:
* ksvg2/svg/SVGAnimateColorElement.h:
* ksvg2/svg/SVGAnimateElement.cpp:
* ksvg2/svg/SVGAnimateElement.h:
* ksvg2/svg/SVGAnimateTransformElement.cpp:
* ksvg2/svg/SVGAnimateTransformElement.h:
* ksvg2/svg/SVGAnimatedAngle.cpp:
* ksvg2/svg/SVGAnimatedAngle.h:
* ksvg2/svg/SVGAnimatedBoolean.cpp:
* ksvg2/svg/SVGAnimatedBoolean.h:
* ksvg2/svg/SVGAnimatedColor.cpp:
* ksvg2/svg/SVGAnimatedColor.h:
* ksvg2/svg/SVGAnimatedEnumeration.cpp:
* ksvg2/svg/SVGAnimatedEnumeration.h:
* ksvg2/svg/SVGAnimatedInteger.cpp:
* ksvg2/svg/SVGAnimatedInteger.h:
* ksvg2/svg/SVGAnimatedLength.cpp:
* ksvg2/svg/SVGAnimatedLength.h:
* ksvg2/svg/SVGAnimatedLengthList.cpp:
* ksvg2/svg/SVGAnimatedLengthList.h:
* ksvg2/svg/SVGAnimatedNumber.cpp:
* ksvg2/svg/SVGAnimatedNumber.h:
* ksvg2/svg/SVGAnimatedNumberList.cpp:
* ksvg2/svg/SVGAnimatedNumberList.h:
* ksvg2/svg/SVGAnimatedPathData.cpp:
* ksvg2/svg/SVGAnimatedPathData.h:
* ksvg2/svg/SVGAnimatedPoints.cpp:
* ksvg2/svg/SVGAnimatedPoints.h:
* ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp:
* ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
* ksvg2/svg/SVGAnimatedRect.cpp:
* ksvg2/svg/SVGAnimatedRect.h:
* ksvg2/svg/SVGAnimatedString.cpp:
* ksvg2/svg/SVGAnimatedString.h:
* ksvg2/svg/SVGAnimatedTemplate.h:
* ksvg2/svg/SVGAnimatedTransformList.cpp:
* ksvg2/svg/SVGAnimatedTransformList.h:
* ksvg2/svg/SVGAnimationElement.cpp:
* ksvg2/svg/SVGAnimationElement.h:
* ksvg2/svg/SVGCircleElement.cpp:
* ksvg2/svg/SVGCircleElement.h:
* ksvg2/svg/SVGClipPathElement.cpp:
* ksvg2/svg/SVGClipPathElement.h:
* ksvg2/svg/SVGColor.cpp:
* ksvg2/svg/SVGColor.h:
* ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
* ksvg2/svg/SVGComponentTransferFunctionElement.h:
* ksvg2/svg/SVGCursorElement.cpp:
* ksvg2/svg/SVGCursorElement.h:
* ksvg2/svg/SVGDOMImplementation.cpp:
* ksvg2/svg/SVGDOMImplementation.h:
* ksvg2/svg/SVGDefsElement.cpp:
* ksvg2/svg/SVGDefsElement.h:
* ksvg2/svg/SVGDescElement.cpp:
* ksvg2/svg/SVGDescElement.h:
* ksvg2/svg/SVGDocument.cpp:
* ksvg2/svg/SVGDocument.h:
* ksvg2/svg/SVGElement.cpp:
* ksvg2/svg/SVGElement.h:
* ksvg2/svg/SVGElementInstance.cpp:
* ksvg2/svg/SVGElementInstance.h:
* ksvg2/svg/SVGElementInstanceList.cpp:
* ksvg2/svg/SVGElementInstanceList.h:
* ksvg2/svg/SVGEllipseElement.cpp:
* ksvg2/svg/SVGEllipseElement.h:
* ksvg2/svg/SVGExternalResourcesRequired.cpp:
* ksvg2/svg/SVGExternalResourcesRequired.h:
* ksvg2/svg/SVGFEBlendElement.cpp:
* ksvg2/svg/SVGFEBlendElement.h:
* ksvg2/svg/SVGFEColorMatrixElement.cpp:
* ksvg2/svg/SVGFEColorMatrixElement.h:
* ksvg2/svg/SVGFEComponentTransferElement.cpp:
* ksvg2/svg/SVGFEComponentTransferElement.h:
* ksvg2/svg/SVGFECompositeElement.cpp:
* ksvg2/svg/SVGFECompositeElement.h:
* ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
* ksvg2/svg/SVGFEDiffuseLightingElement.h:
* ksvg2/svg/SVGFEDisplacementMapElement.cpp:
* ksvg2/svg/SVGFEDisplacementMapElement.h:
* ksvg2/svg/SVGFEDistantLightElement.cpp:
* ksvg2/svg/SVGFEDistantLightElement.h:
* ksvg2/svg/SVGFEFloodElement.cpp:
* ksvg2/svg/SVGFEFloodElement.h:
* ksvg2/svg/SVGFEFuncAElement.cpp:
* ksvg2/svg/SVGFEFuncAElement.h:
* ksvg2/svg/SVGFEFuncBElement.cpp:
* ksvg2/svg/SVGFEFuncBElement.h:
* ksvg2/svg/SVGFEFuncGElement.cpp:
* ksvg2/svg/SVGFEFuncGElement.h:
* ksvg2/svg/SVGFEFuncRElement.cpp:
* ksvg2/svg/SVGFEFuncRElement.h:
* ksvg2/svg/SVGFEGaussianBlurElement.cpp:
* ksvg2/svg/SVGFEGaussianBlurElement.h:
* ksvg2/svg/SVGFEImageElement.cpp:
* ksvg2/svg/SVGFEImageElement.h:
* ksvg2/svg/SVGFELightElement.cpp:
* ksvg2/svg/SVGFELightElement.h:
* ksvg2/svg/SVGFEMergeElement.cpp:
* ksvg2/svg/SVGFEMergeElement.h:
* ksvg2/svg/SVGFEMergeNodeElement.cpp:
* ksvg2/svg/SVGFEMergeNodeElement.h:
* ksvg2/svg/SVGFEOffsetElement.cpp:
* ksvg2/svg/SVGFEOffsetElement.h:
* ksvg2/svg/SVGFEPointLightElement.cpp:
* ksvg2/svg/SVGFEPointLightElement.h:
* ksvg2/svg/SVGFESpecularLightingElement.cpp:
* ksvg2/svg/SVGFESpecularLightingElement.h:
* ksvg2/svg/SVGFESpotLightElement.cpp:
* ksvg2/svg/SVGFESpotLightElement.h:
* ksvg2/svg/SVGFETileElement.cpp:
* ksvg2/svg/SVGFETileElement.h:
* ksvg2/svg/SVGFETurbulenceElement.cpp:
* ksvg2/svg/SVGFETurbulenceElement.h:
* ksvg2/svg/SVGFilterElement.cpp:
* ksvg2/svg/SVGFilterElement.h:
* ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
* ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
* ksvg2/svg/SVGFitToViewBox.cpp:
* ksvg2/svg/SVGFitToViewBox.h:
* ksvg2/svg/SVGForeignObjectElement.cpp:
* ksvg2/svg/SVGForeignObjectElement.h:
* ksvg2/svg/SVGGElement.cpp:
* ksvg2/svg/SVGGElement.h:
* ksvg2/svg/SVGGradientElement.cpp:
* ksvg2/svg/SVGGradientElement.h:
* ksvg2/svg/SVGHelper.cpp:
* ksvg2/svg/SVGHelper.h:
* ksvg2/svg/SVGImageElement.cpp:
* ksvg2/svg/SVGImageElement.h:
* ksvg2/svg/SVGLangSpace.cpp:
* ksvg2/svg/SVGLangSpace.h:
* ksvg2/svg/SVGLength.cpp:
* ksvg2/svg/SVGLength.h:
* ksvg2/svg/SVGLengthList.cpp:
* ksvg2/svg/SVGLengthList.h:
* ksvg2/svg/SVGLineElement.cpp:
* ksvg2/svg/SVGLineElement.h:
* ksvg2/svg/SVGLinearGradientElement.cpp:
* ksvg2/svg/SVGLinearGradientElement.h:
* ksvg2/svg/SVGList.h:
* ksvg2/svg/SVGLocatable.cpp:
* ksvg2/svg/SVGLocatable.h:
* ksvg2/svg/SVGMarkerElement.cpp:
* ksvg2/svg/SVGMarkerElement.h:
* ksvg2/svg/SVGMaskElement.cpp:
* ksvg2/svg/SVGMaskElement.h:
* ksvg2/svg/SVGMatrix.cpp:
* ksvg2/svg/SVGMatrix.h:
* ksvg2/svg/SVGNumber.cpp:
* ksvg2/svg/SVGNumber.h:
* ksvg2/svg/SVGNumberList.cpp:
* ksvg2/svg/SVGNumberList.h:
* ksvg2/svg/SVGPaint.cpp:
* ksvg2/svg/SVGPaint.h:
* ksvg2/svg/SVGPathElement.cpp:
* ksvg2/svg/SVGPathElement.h:
* ksvg2/svg/SVGPathSeg.cpp:
* ksvg2/svg/SVGPathSeg.h:
* ksvg2/svg/SVGPathSegArc.cpp:
* ksvg2/svg/SVGPathSegArc.h:
* ksvg2/svg/SVGPathSegClosePath.cpp:
* ksvg2/svg/SVGPathSegClosePath.h:
* ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
* ksvg2/svg/SVGPathSegCurvetoCubic.h:
* ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
* ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
* ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
* ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
* ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
* ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
* ksvg2/svg/SVGPathSegLineto.cpp:
* ksvg2/svg/SVGPathSegLineto.h:
* ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
* ksvg2/svg/SVGPathSegLinetoHorizontal.h:
* ksvg2/svg/SVGPathSegLinetoVertical.cpp:
* ksvg2/svg/SVGPathSegLinetoVertical.h:
* ksvg2/svg/SVGPathSegList.cpp:
* ksvg2/svg/SVGPathSegList.h:
* ksvg2/svg/SVGPathSegMoveto.cpp:
* ksvg2/svg/SVGPathSegMoveto.h:
* ksvg2/svg/SVGPatternElement.cpp:
* ksvg2/svg/SVGPatternElement.h:
* ksvg2/svg/SVGPoint.cpp:
* ksvg2/svg/SVGPoint.h:
* ksvg2/svg/SVGPointList.cpp:
* ksvg2/svg/SVGPointList.h:
* ksvg2/svg/SVGPolyElement.cpp:
* ksvg2/svg/SVGPolyElement.h:
* ksvg2/svg/SVGPolygonElement.cpp:
* ksvg2/svg/SVGPolygonElement.h:
* ksvg2/svg/SVGPolylineElement.cpp:
* ksvg2/svg/SVGPolylineElement.h:
* ksvg2/svg/SVGPreserveAspectRatio.cpp:
* ksvg2/svg/SVGPreserveAspectRatio.h:
* ksvg2/svg/SVGRadialGradientElement.cpp:
* ksvg2/svg/SVGRadialGradientElement.h:
* ksvg2/svg/SVGRect.cpp:
* ksvg2/svg/SVGRect.h:
* ksvg2/svg/SVGRectElement.cpp:
* ksvg2/svg/SVGRectElement.h:
* ksvg2/svg/SVGSVGElement.cpp:
* ksvg2/svg/SVGSVGElement.h:
* ksvg2/svg/SVGScriptElement.cpp:
* ksvg2/svg/SVGScriptElement.h:
* ksvg2/svg/SVGSetElement.cpp:
* ksvg2/svg/SVGSetElement.h:
* ksvg2/svg/SVGStopElement.cpp:
* ksvg2/svg/SVGStopElement.h:
* ksvg2/svg/SVGStringList.cpp:
* ksvg2/svg/SVGStringList.h:
* ksvg2/svg/SVGStylable.cpp:
* ksvg2/svg/SVGStylable.h:
* ksvg2/svg/SVGStyleElement.cpp:
* ksvg2/svg/SVGStyleElement.h:
* ksvg2/svg/SVGStyledElement.cpp:
* ksvg2/svg/SVGStyledElement.h:
* ksvg2/svg/SVGStyledLocatableElement.cpp:
* ksvg2/svg/SVGStyledLocatableElement.h:
* ksvg2/svg/SVGStyledTransformableElement.cpp:
* ksvg2/svg/SVGStyledTransformableElement.h:
* ksvg2/svg/SVGSwitchElement.cpp:
* ksvg2/svg/SVGSwitchElement.h:
* ksvg2/svg/SVGSymbolElement.cpp:
* ksvg2/svg/SVGSymbolElement.h:
* ksvg2/svg/SVGTRefElement.cpp:
* ksvg2/svg/SVGTRefElement.h:
* ksvg2/svg/SVGTSpanElement.cpp:
* ksvg2/svg/SVGTSpanElement.h:
* ksvg2/svg/SVGTests.cpp:
* ksvg2/svg/SVGTests.h:
* ksvg2/svg/SVGTextContentElement.cpp:
* ksvg2/svg/SVGTextContentElement.h:
* ksvg2/svg/SVGTextElement.cpp:
* ksvg2/svg/SVGTextElement.h:
* ksvg2/svg/SVGTextPositioningElement.cpp:
* ksvg2/svg/SVGTextPositioningElement.h:
* ksvg2/svg/SVGTitleElement.cpp:
* ksvg2/svg/SVGTitleElement.h:
* ksvg2/svg/SVGTransform.cpp:
* ksvg2/svg/SVGTransform.h:
* ksvg2/svg/SVGTransformList.cpp:
* ksvg2/svg/SVGTransformList.h:
* ksvg2/svg/SVGTransformable.cpp:
* ksvg2/svg/SVGTransformable.h:
* ksvg2/svg/SVGURIReference.cpp:
* ksvg2/svg/SVGURIReference.h:
* ksvg2/svg/SVGUseElement.cpp:
* ksvg2/svg/SVGUseElement.h:
* ksvg2/svg/SVGViewElement.cpp:
* ksvg2/svg/SVGViewElement.h:
* ksvg2/svg/SVGZoomAndPan.cpp:
* ksvg2/svg/SVGZoomAndPan.h:
* ksvg2/svg/svgpathparser.cpp:
* ksvg2/svg/svgpathparser.h:
* page/DOMWindow.idl:
* page/Frame.cpp:
(WebCore::Frame::Frame):
(WebCore::Frame::begin):
(WebCore::Frame::pauseTimeouts):
(WebCore::Frame::resumeTimeouts):
* platform/GraphicsContext.h:
* platform/cg/GraphicsContextCG.cpp:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::isTransparent):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::containingBlock):
* rendering/RenderObject.h:
* rendering/RenderStyle.cpp:
(WebCore::RenderStyle::RenderStyle):
(WebCore::RenderStyle::inheritFrom):
(WebCore::RenderStyle::operator==):
(WebCore::RenderStyle::inheritedNotEqual):
(WebCore::RenderStyle::diff):
* rendering/RenderStyle.h:
* rendering/RenderTreeAsText.cpp:
(WebCore::write):
(WebCore::externalRepresentation):
* xpath/XPathEvaluator.cpp:
* xpath/XPathEvaluator.h:
* xpath/XPathExpression.cpp:
* xpath/XPathExpression.h:
* xpath/XPathNSResolver.cpp:
* xpath/XPathNSResolver.h:
* xpath/XPathNamespace.cpp:
* xpath/XPathNamespace.h:
* xpath/XPathResult.cpp:
* xpath/XPathResult.h:
* xpath/impl/XPathExpressionNode.cpp:
* xpath/impl/XPathExpressionNode.h:
* xpath/impl/XPathFunctions.cpp:
* xpath/impl/XPathFunctions.h:
* xpath/impl/XPathGrammar.y:
* xpath/impl/XPathParser.cpp:
* xpath/impl/XPathParser.h:
* xpath/impl/XPathPath.cpp:
* xpath/impl/XPathPath.h:
* xpath/impl/XPathPredicate.cpp:
* xpath/impl/XPathPredicate.h:
* xpath/impl/XPathStep.cpp:
* xpath/impl/XPathStep.h:
* xpath/impl/XPathUtil.cpp:
* xpath/impl/XPathUtil.h:
* xpath/impl/XPathValue.cpp:
* xpath/impl/XPathValue.h:
* xpath/impl/XPathVariableReference.cpp:
* xpath/impl/XPathVariableReference.h:
Change all #if SVG_SUPPORT to #ifdef SVG_SUPPORT and
#if XPATH_SUPPORT to #ifdef XPATH_SUPPORT
(except for one #if !SVG_SUPPORT to a #ifndef SVG_SUPPORT
in RenderTreeAsText.cpp)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15828
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-09 Graham Dennis <graham.dennis@gmail.com>
+
+ Reviewed by Darin.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10247
+ REGRESSION: Unable to build webkit without SVG/XPATH
+
+ * bindings/js/kjs_binding.cpp:
+ (KJS::setDOMException):
+ * bindings/js/kjs_dom.cpp:
+ (KJS::toJS):
+ * bindings/js/kjs_html.cpp:
+ (KJS::HTMLElementFunction::callAsFunction):
+ * bindings/js/kjs_proxy.cpp:
+ * bindings/js/kjs_proxy.h:
+ * bindings/objc/DOMInternal.h:
+ * bindings/objc/DOMInternal.mm:
+ (raiseDOMException):
+ * bindings/objc/DOMXPath.mm:
+ * bindings/objc/DOMXPathInternal.h:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bridge/mac/WebCoreFrameBridge.mm:
+ (+[WebCoreFrameBridge supportedNonImageMIMETypes]):
+ * css/CSSGrammar.y:
+ * css/CSSStyleDeclaration.cpp:
+ (WebCore::propertyID):
+ * css/cssparser.cpp:
+ (WebCore::CSSParser::parseValue):
+ * css/cssparser.h:
+ * css/cssstyleselector.cpp:
+ (WebCore::CSSStyleSelector::loadDefaultStyle):
+ (WebCore::CSSStyleSelector::applyProperty):
+ * css/cssstyleselector.h:
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ (WebCore::Document::~Document):
+ (WebCore::Document::createElementNS):
+ (WebCore::Document::implicitClose):
+ (WebCore::Document::recalcStyleSelector):
+ (WebCore::Document::createEvent):
+ * dom/Document.h:
+ * dom/Document.idl:
+ * dom/Node.cpp:
+ (WebCore::Node::createRendererIfNeeded):
+ * dom/Node.h:
+ * dom/XMLTokenizer.cpp:
+ (WebCore::XMLTokenizer::endElementNs):
+ (WebCore::XMLTokenizer::insertErrorMessageBlock):
+ * html/HTMLEmbedElement.cpp:
+ * html/HTMLEmbedElement.h:
+ * html/HTMLObjectElement.cpp:
+ * html/HTMLObjectElement.h:
+ * kcanvas/KCanvasCreator.cpp:
+ * kcanvas/KCanvasCreator.h:
+ * kcanvas/KCanvasFilters.cpp:
+ * kcanvas/KCanvasFilters.h:
+ * kcanvas/KCanvasImage.h:
+ * kcanvas/KCanvasMatrix.cpp:
+ * kcanvas/KCanvasMatrix.h:
+ * kcanvas/KCanvasPath.cpp:
+ * kcanvas/KCanvasPath.h:
+ * kcanvas/KCanvasResourceListener.h:
+ * kcanvas/KCanvasResources.cpp:
+ * kcanvas/KCanvasResources.h:
+ * kcanvas/KCanvasTreeDebug.cpp:
+ * kcanvas/RenderForeignObject.cpp:
+ * kcanvas/RenderForeignObject.h:
+ * kcanvas/RenderPath.cpp:
+ * kcanvas/RenderPath.h:
+ * kcanvas/RenderSVGContainer.cpp:
+ * kcanvas/RenderSVGContainer.h:
+ * kcanvas/RenderSVGImage.cpp:
+ * kcanvas/RenderSVGImage.h:
+ * kcanvas/RenderSVGText.cpp:
+ * kcanvas/RenderSVGText.h:
+ * kcanvas/device/KRenderingDevice.cpp:
+ * kcanvas/device/KRenderingDevice.h:
+ * kcanvas/device/KRenderingFillPainter.cpp:
+ * kcanvas/device/KRenderingFillPainter.h:
+ * kcanvas/device/KRenderingPaintServer.h:
+ * kcanvas/device/KRenderingPaintServerGradient.cpp:
+ * kcanvas/device/KRenderingPaintServerGradient.h:
+ * kcanvas/device/KRenderingPaintServerPattern.cpp:
+ * kcanvas/device/KRenderingPaintServerPattern.h:
+ * kcanvas/device/KRenderingPaintServerSolid.cpp:
+ * kcanvas/device/KRenderingPaintServerSolid.h:
+ * kcanvas/device/KRenderingStrokePainter.cpp:
+ * kcanvas/device/KRenderingStrokePainter.h:
+ * kcanvas/device/quartz/KCanvasFilterQuartz.h:
+ * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
+ * kcanvas/device/quartz/KCanvasItemQuartz.mm:
+ * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
+ * kcanvas/device/quartz/KCanvasPathQuartz.mm:
+ * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
+ * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
+ * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
+ * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
+ * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
+ * kcanvas/device/quartz/QuartzSupport.h:
+ * kcanvas/device/quartz/QuartzSupport.mm:
+ * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
+ * ksvg2/bindings/js/JSSVGElementWrapperFactory.h:
+ * ksvg2/css/SVGCSSParser.cpp:
+ * ksvg2/css/SVGCSSStyleSelector.cpp:
+ * ksvg2/css/SVGRenderStyle.cpp:
+ * ksvg2/css/SVGRenderStyle.h:
+ * ksvg2/css/SVGRenderStyleDefs.cpp:
+ * ksvg2/css/SVGRenderStyleDefs.h:
+ * ksvg2/ecma/GlobalObject.cpp:
+ * ksvg2/ecma/GlobalObject.h:
+ * ksvg2/events/JSSVGLazyEventListener.cpp:
+ * ksvg2/events/JSSVGLazyEventListener.h:
+ * ksvg2/events/SVGZoomEvent.cpp:
+ * ksvg2/events/SVGZoomEvent.h:
+ * ksvg2/ksvg.h:
+ * ksvg2/misc/KCanvasRenderingStyle.cpp:
+ * ksvg2/misc/KCanvasRenderingStyle.h:
+ * ksvg2/misc/KSVGTimeScheduler.cpp:
+ * ksvg2/misc/KSVGTimeScheduler.h:
+ * ksvg2/misc/SVGDocumentExtensions.cpp:
+ * ksvg2/misc/SVGDocumentExtensions.h:
+ * ksvg2/misc/SVGImageLoader.cpp:
+ * ksvg2/misc/SVGImageLoader.h:
+ * ksvg2/svg/DOMList.h:
+ * ksvg2/svg/SVGAElement.cpp:
+ * ksvg2/svg/SVGAElement.h:
+ * ksvg2/svg/SVGAngle.cpp:
+ * ksvg2/svg/SVGAngle.h:
+ * ksvg2/svg/SVGAnimateColorElement.cpp:
+ * ksvg2/svg/SVGAnimateColorElement.h:
+ * ksvg2/svg/SVGAnimateElement.cpp:
+ * ksvg2/svg/SVGAnimateElement.h:
+ * ksvg2/svg/SVGAnimateTransformElement.cpp:
+ * ksvg2/svg/SVGAnimateTransformElement.h:
+ * ksvg2/svg/SVGAnimatedAngle.cpp:
+ * ksvg2/svg/SVGAnimatedAngle.h:
+ * ksvg2/svg/SVGAnimatedBoolean.cpp:
+ * ksvg2/svg/SVGAnimatedBoolean.h:
+ * ksvg2/svg/SVGAnimatedColor.cpp:
+ * ksvg2/svg/SVGAnimatedColor.h:
+ * ksvg2/svg/SVGAnimatedEnumeration.cpp:
+ * ksvg2/svg/SVGAnimatedEnumeration.h:
+ * ksvg2/svg/SVGAnimatedInteger.cpp:
+ * ksvg2/svg/SVGAnimatedInteger.h:
+ * ksvg2/svg/SVGAnimatedLength.cpp:
+ * ksvg2/svg/SVGAnimatedLength.h:
+ * ksvg2/svg/SVGAnimatedLengthList.cpp:
+ * ksvg2/svg/SVGAnimatedLengthList.h:
+ * ksvg2/svg/SVGAnimatedNumber.cpp:
+ * ksvg2/svg/SVGAnimatedNumber.h:
+ * ksvg2/svg/SVGAnimatedNumberList.cpp:
+ * ksvg2/svg/SVGAnimatedNumberList.h:
+ * ksvg2/svg/SVGAnimatedPathData.cpp:
+ * ksvg2/svg/SVGAnimatedPathData.h:
+ * ksvg2/svg/SVGAnimatedPoints.cpp:
+ * ksvg2/svg/SVGAnimatedPoints.h:
+ * ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp:
+ * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
+ * ksvg2/svg/SVGAnimatedRect.cpp:
+ * ksvg2/svg/SVGAnimatedRect.h:
+ * ksvg2/svg/SVGAnimatedString.cpp:
+ * ksvg2/svg/SVGAnimatedString.h:
+ * ksvg2/svg/SVGAnimatedTemplate.h:
+ * ksvg2/svg/SVGAnimatedTransformList.cpp:
+ * ksvg2/svg/SVGAnimatedTransformList.h:
+ * ksvg2/svg/SVGAnimationElement.cpp:
+ * ksvg2/svg/SVGAnimationElement.h:
+ * ksvg2/svg/SVGCircleElement.cpp:
+ * ksvg2/svg/SVGCircleElement.h:
+ * ksvg2/svg/SVGClipPathElement.cpp:
+ * ksvg2/svg/SVGClipPathElement.h:
+ * ksvg2/svg/SVGColor.cpp:
+ * ksvg2/svg/SVGColor.h:
+ * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
+ * ksvg2/svg/SVGComponentTransferFunctionElement.h:
+ * ksvg2/svg/SVGCursorElement.cpp:
+ * ksvg2/svg/SVGCursorElement.h:
+ * ksvg2/svg/SVGDOMImplementation.cpp:
+ * ksvg2/svg/SVGDOMImplementation.h:
+ * ksvg2/svg/SVGDefsElement.cpp:
+ * ksvg2/svg/SVGDefsElement.h:
+ * ksvg2/svg/SVGDescElement.cpp:
+ * ksvg2/svg/SVGDescElement.h:
+ * ksvg2/svg/SVGDocument.cpp:
+ * ksvg2/svg/SVGDocument.h:
+ * ksvg2/svg/SVGElement.cpp:
+ * ksvg2/svg/SVGElement.h:
+ * ksvg2/svg/SVGElementInstance.cpp:
+ * ksvg2/svg/SVGElementInstance.h:
+ * ksvg2/svg/SVGElementInstanceList.cpp:
+ * ksvg2/svg/SVGElementInstanceList.h:
+ * ksvg2/svg/SVGEllipseElement.cpp:
+ * ksvg2/svg/SVGEllipseElement.h:
+ * ksvg2/svg/SVGExternalResourcesRequired.cpp:
+ * ksvg2/svg/SVGExternalResourcesRequired.h:
+ * ksvg2/svg/SVGFEBlendElement.cpp:
+ * ksvg2/svg/SVGFEBlendElement.h:
+ * ksvg2/svg/SVGFEColorMatrixElement.cpp:
+ * ksvg2/svg/SVGFEColorMatrixElement.h:
+ * ksvg2/svg/SVGFEComponentTransferElement.cpp:
+ * ksvg2/svg/SVGFEComponentTransferElement.h:
+ * ksvg2/svg/SVGFECompositeElement.cpp:
+ * ksvg2/svg/SVGFECompositeElement.h:
+ * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
+ * ksvg2/svg/SVGFEDiffuseLightingElement.h:
+ * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
+ * ksvg2/svg/SVGFEDisplacementMapElement.h:
+ * ksvg2/svg/SVGFEDistantLightElement.cpp:
+ * ksvg2/svg/SVGFEDistantLightElement.h:
+ * ksvg2/svg/SVGFEFloodElement.cpp:
+ * ksvg2/svg/SVGFEFloodElement.h:
+ * ksvg2/svg/SVGFEFuncAElement.cpp:
+ * ksvg2/svg/SVGFEFuncAElement.h:
+ * ksvg2/svg/SVGFEFuncBElement.cpp:
+ * ksvg2/svg/SVGFEFuncBElement.h:
+ * ksvg2/svg/SVGFEFuncGElement.cpp:
+ * ksvg2/svg/SVGFEFuncGElement.h:
+ * ksvg2/svg/SVGFEFuncRElement.cpp:
+ * ksvg2/svg/SVGFEFuncRElement.h:
+ * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
+ * ksvg2/svg/SVGFEGaussianBlurElement.h:
+ * ksvg2/svg/SVGFEImageElement.cpp:
+ * ksvg2/svg/SVGFEImageElement.h:
+ * ksvg2/svg/SVGFELightElement.cpp:
+ * ksvg2/svg/SVGFELightElement.h:
+ * ksvg2/svg/SVGFEMergeElement.cpp:
+ * ksvg2/svg/SVGFEMergeElement.h:
+ * ksvg2/svg/SVGFEMergeNodeElement.cpp:
+ * ksvg2/svg/SVGFEMergeNodeElement.h:
+ * ksvg2/svg/SVGFEOffsetElement.cpp:
+ * ksvg2/svg/SVGFEOffsetElement.h:
+ * ksvg2/svg/SVGFEPointLightElement.cpp:
+ * ksvg2/svg/SVGFEPointLightElement.h:
+ * ksvg2/svg/SVGFESpecularLightingElement.cpp:
+ * ksvg2/svg/SVGFESpecularLightingElement.h:
+ * ksvg2/svg/SVGFESpotLightElement.cpp:
+ * ksvg2/svg/SVGFESpotLightElement.h:
+ * ksvg2/svg/SVGFETileElement.cpp:
+ * ksvg2/svg/SVGFETileElement.h:
+ * ksvg2/svg/SVGFETurbulenceElement.cpp:
+ * ksvg2/svg/SVGFETurbulenceElement.h:
+ * ksvg2/svg/SVGFilterElement.cpp:
+ * ksvg2/svg/SVGFilterElement.h:
+ * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
+ * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
+ * ksvg2/svg/SVGFitToViewBox.cpp:
+ * ksvg2/svg/SVGFitToViewBox.h:
+ * ksvg2/svg/SVGForeignObjectElement.cpp:
+ * ksvg2/svg/SVGForeignObjectElement.h:
+ * ksvg2/svg/SVGGElement.cpp:
+ * ksvg2/svg/SVGGElement.h:
+ * ksvg2/svg/SVGGradientElement.cpp:
+ * ksvg2/svg/SVGGradientElement.h:
+ * ksvg2/svg/SVGHelper.cpp:
+ * ksvg2/svg/SVGHelper.h:
+ * ksvg2/svg/SVGImageElement.cpp:
+ * ksvg2/svg/SVGImageElement.h:
+ * ksvg2/svg/SVGLangSpace.cpp:
+ * ksvg2/svg/SVGLangSpace.h:
+ * ksvg2/svg/SVGLength.cpp:
+ * ksvg2/svg/SVGLength.h:
+ * ksvg2/svg/SVGLengthList.cpp:
+ * ksvg2/svg/SVGLengthList.h:
+ * ksvg2/svg/SVGLineElement.cpp:
+ * ksvg2/svg/SVGLineElement.h:
+ * ksvg2/svg/SVGLinearGradientElement.cpp:
+ * ksvg2/svg/SVGLinearGradientElement.h:
+ * ksvg2/svg/SVGList.h:
+ * ksvg2/svg/SVGLocatable.cpp:
+ * ksvg2/svg/SVGLocatable.h:
+ * ksvg2/svg/SVGMarkerElement.cpp:
+ * ksvg2/svg/SVGMarkerElement.h:
+ * ksvg2/svg/SVGMaskElement.cpp:
+ * ksvg2/svg/SVGMaskElement.h:
+ * ksvg2/svg/SVGMatrix.cpp:
+ * ksvg2/svg/SVGMatrix.h:
+ * ksvg2/svg/SVGNumber.cpp:
+ * ksvg2/svg/SVGNumber.h:
+ * ksvg2/svg/SVGNumberList.cpp:
+ * ksvg2/svg/SVGNumberList.h:
+ * ksvg2/svg/SVGPaint.cpp:
+ * ksvg2/svg/SVGPaint.h:
+ * ksvg2/svg/SVGPathElement.cpp:
+ * ksvg2/svg/SVGPathElement.h:
+ * ksvg2/svg/SVGPathSeg.cpp:
+ * ksvg2/svg/SVGPathSeg.h:
+ * ksvg2/svg/SVGPathSegArc.cpp:
+ * ksvg2/svg/SVGPathSegArc.h:
+ * ksvg2/svg/SVGPathSegClosePath.cpp:
+ * ksvg2/svg/SVGPathSegClosePath.h:
+ * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
+ * ksvg2/svg/SVGPathSegCurvetoCubic.h:
+ * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
+ * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
+ * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
+ * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
+ * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
+ * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
+ * ksvg2/svg/SVGPathSegLineto.cpp:
+ * ksvg2/svg/SVGPathSegLineto.h:
+ * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
+ * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
+ * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
+ * ksvg2/svg/SVGPathSegLinetoVertical.h:
+ * ksvg2/svg/SVGPathSegList.cpp:
+ * ksvg2/svg/SVGPathSegList.h:
+ * ksvg2/svg/SVGPathSegMoveto.cpp:
+ * ksvg2/svg/SVGPathSegMoveto.h:
+ * ksvg2/svg/SVGPatternElement.cpp:
+ * ksvg2/svg/SVGPatternElement.h:
+ * ksvg2/svg/SVGPoint.cpp:
+ * ksvg2/svg/SVGPoint.h:
+ * ksvg2/svg/SVGPointList.cpp:
+ * ksvg2/svg/SVGPointList.h:
+ * ksvg2/svg/SVGPolyElement.cpp:
+ * ksvg2/svg/SVGPolyElement.h:
+ * ksvg2/svg/SVGPolygonElement.cpp:
+ * ksvg2/svg/SVGPolygonElement.h:
+ * ksvg2/svg/SVGPolylineElement.cpp:
+ * ksvg2/svg/SVGPolylineElement.h:
+ * ksvg2/svg/SVGPreserveAspectRatio.cpp:
+ * ksvg2/svg/SVGPreserveAspectRatio.h:
+ * ksvg2/svg/SVGRadialGradientElement.cpp:
+ * ksvg2/svg/SVGRadialGradientElement.h:
+ * ksvg2/svg/SVGRect.cpp:
+ * ksvg2/svg/SVGRect.h:
+ * ksvg2/svg/SVGRectElement.cpp:
+ * ksvg2/svg/SVGRectElement.h:
+ * ksvg2/svg/SVGSVGElement.cpp:
+ * ksvg2/svg/SVGSVGElement.h:
+ * ksvg2/svg/SVGScriptElement.cpp:
+ * ksvg2/svg/SVGScriptElement.h:
+ * ksvg2/svg/SVGSetElement.cpp:
+ * ksvg2/svg/SVGSetElement.h:
+ * ksvg2/svg/SVGStopElement.cpp:
+ * ksvg2/svg/SVGStopElement.h:
+ * ksvg2/svg/SVGStringList.cpp:
+ * ksvg2/svg/SVGStringList.h:
+ * ksvg2/svg/SVGStylable.cpp:
+ * ksvg2/svg/SVGStylable.h:
+ * ksvg2/svg/SVGStyleElement.cpp:
+ * ksvg2/svg/SVGStyleElement.h:
+ * ksvg2/svg/SVGStyledElement.cpp:
+ * ksvg2/svg/SVGStyledElement.h:
+ * ksvg2/svg/SVGStyledLocatableElement.cpp:
+ * ksvg2/svg/SVGStyledLocatableElement.h:
+ * ksvg2/svg/SVGStyledTransformableElement.cpp:
+ * ksvg2/svg/SVGStyledTransformableElement.h:
+ * ksvg2/svg/SVGSwitchElement.cpp:
+ * ksvg2/svg/SVGSwitchElement.h:
+ * ksvg2/svg/SVGSymbolElement.cpp:
+ * ksvg2/svg/SVGSymbolElement.h:
+ * ksvg2/svg/SVGTRefElement.cpp:
+ * ksvg2/svg/SVGTRefElement.h:
+ * ksvg2/svg/SVGTSpanElement.cpp:
+ * ksvg2/svg/SVGTSpanElement.h:
+ * ksvg2/svg/SVGTests.cpp:
+ * ksvg2/svg/SVGTests.h:
+ * ksvg2/svg/SVGTextContentElement.cpp:
+ * ksvg2/svg/SVGTextContentElement.h:
+ * ksvg2/svg/SVGTextElement.cpp:
+ * ksvg2/svg/SVGTextElement.h:
+ * ksvg2/svg/SVGTextPositioningElement.cpp:
+ * ksvg2/svg/SVGTextPositioningElement.h:
+ * ksvg2/svg/SVGTitleElement.cpp:
+ * ksvg2/svg/SVGTitleElement.h:
+ * ksvg2/svg/SVGTransform.cpp:
+ * ksvg2/svg/SVGTransform.h:
+ * ksvg2/svg/SVGTransformList.cpp:
+ * ksvg2/svg/SVGTransformList.h:
+ * ksvg2/svg/SVGTransformable.cpp:
+ * ksvg2/svg/SVGTransformable.h:
+ * ksvg2/svg/SVGURIReference.cpp:
+ * ksvg2/svg/SVGURIReference.h:
+ * ksvg2/svg/SVGUseElement.cpp:
+ * ksvg2/svg/SVGUseElement.h:
+ * ksvg2/svg/SVGViewElement.cpp:
+ * ksvg2/svg/SVGViewElement.h:
+ * ksvg2/svg/SVGZoomAndPan.cpp:
+ * ksvg2/svg/SVGZoomAndPan.h:
+ * ksvg2/svg/svgpathparser.cpp:
+ * ksvg2/svg/svgpathparser.h:
+ * page/DOMWindow.idl:
+ * page/Frame.cpp:
+ (WebCore::Frame::Frame):
+ (WebCore::Frame::begin):
+ (WebCore::Frame::pauseTimeouts):
+ (WebCore::Frame::resumeTimeouts):
+ * platform/GraphicsContext.h:
+ * platform/cg/GraphicsContextCG.cpp:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::isTransparent):
+ * rendering/RenderObject.cpp:
+ (WebCore::RenderObject::containingBlock):
+ * rendering/RenderObject.h:
+ * rendering/RenderStyle.cpp:
+ (WebCore::RenderStyle::RenderStyle):
+ (WebCore::RenderStyle::inheritFrom):
+ (WebCore::RenderStyle::operator==):
+ (WebCore::RenderStyle::inheritedNotEqual):
+ (WebCore::RenderStyle::diff):
+ * rendering/RenderStyle.h:
+ * rendering/RenderTreeAsText.cpp:
+ (WebCore::write):
+ (WebCore::externalRepresentation):
+ * xpath/XPathEvaluator.cpp:
+ * xpath/XPathEvaluator.h:
+ * xpath/XPathExpression.cpp:
+ * xpath/XPathExpression.h:
+ * xpath/XPathNSResolver.cpp:
+ * xpath/XPathNSResolver.h:
+ * xpath/XPathNamespace.cpp:
+ * xpath/XPathNamespace.h:
+ * xpath/XPathResult.cpp:
+ * xpath/XPathResult.h:
+ * xpath/impl/XPathExpressionNode.cpp:
+ * xpath/impl/XPathExpressionNode.h:
+ * xpath/impl/XPathFunctions.cpp:
+ * xpath/impl/XPathFunctions.h:
+ * xpath/impl/XPathGrammar.y:
+ * xpath/impl/XPathParser.cpp:
+ * xpath/impl/XPathParser.h:
+ * xpath/impl/XPathPath.cpp:
+ * xpath/impl/XPathPath.h:
+ * xpath/impl/XPathPredicate.cpp:
+ * xpath/impl/XPathPredicate.h:
+ * xpath/impl/XPathStep.cpp:
+ * xpath/impl/XPathStep.h:
+ * xpath/impl/XPathUtil.cpp:
+ * xpath/impl/XPathUtil.h:
+ * xpath/impl/XPathValue.cpp:
+ * xpath/impl/XPathValue.h:
+ * xpath/impl/XPathVariableReference.cpp:
+ * xpath/impl/XPathVariableReference.h:
+
+ Change all #if SVG_SUPPORT to #ifdef SVG_SUPPORT and
+ #if XPATH_SUPPORT to #ifdef XPATH_SUPPORT
+ (except for one #if !SVG_SUPPORT to a #ifndef SVG_SUPPORT
+ in RenderTreeAsText.cpp)
+
2006-08-08 Rob Buis <buis@kde.org>
Reviewed by Darin.
"UNSPECIFIED_EVENT_TYPE_ERR"
};
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
static const char * const xpathExceptionNames[] = {
"INVALID_EXPRESSION_ERR",
"TYPE_ERR"
nameIndex = code;
nameTable = eventExceptionNames;
nameTableSize = sizeof(eventExceptionNames) / sizeof(eventExceptionNames[0]);
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
} else if (code >= XPathExceptionOffset && code <= XPathExceptionMax) {
type = "DOM XPath";
// XPath exception codes start with 51 and we don't want 51 empty elements in the name array
#include "kjs_traversal.h"
#include "kjs_window.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "JSSVGDocument.h"
#include "JSSVGElementWrapperFactory.h"
#include "SVGDocument.h"
if (n->isHTMLDocument())
ret = new WebCore::JSHTMLDocument(exec, static_cast<HTMLDocument*>(n));
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (n->isSVGDocument())
ret = new WebCore::JSSVGDocument(exec, static_cast<SVGDocument*>(n));
#endif
case Node::ELEMENT_NODE:
if (n->isHTMLElement())
ret = createJSHTMLWrapper(exec, static_pointer_cast<HTMLElement>(node));
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (n->isSVGElement())
ret = createJSSVGWrapper(exec, static_pointer_cast<SVGElement>(node));
#endif
#include "kjs_window.h"
#include <math.h>
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDocument.h"
#endif
return jsUndefined();
}
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (element.hasLocalName(objectTag)) {
HTMLObjectElement& object = static_cast<HTMLObjectElement&>(element);
if (id == JSHTMLElement::ObjectGetSVGDocument)
#include "Frame.h"
#include "JSDOMWindow.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "JSSVGLazyEventListener.h"
#endif
return new JSLazyEventListener(functionName, code, Window::retrieveWindow(m_frame), node, m_handlerLineno);
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
EventListener* KJSProxy::createSVGEventHandler(const String& functionName, const String& code, Node* node)
{
initScriptIfNeeded();
KJS::JSValue* evaluate(const String& filename, int baseLine, const String& code, Node*);
void clear();
EventListener* createHTMLEventHandler(const String& functionName, const String& code, Node*);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
EventListener* createSVGEventHandler(const String& functionName, const String& code, Node*);
#endif
void finishedWithEvent(Event*);
ALLOW_DOM_CAST(StyleSheet)
ALLOW_DOM_CAST(StyleSheetList)
ALLOW_DOM_CAST(TreeWalker)
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
ALLOW_DOM_CAST(XPathExpression)
ALLOW_DOM_CAST(XPathNSResolver)
ALLOW_DOM_CAST(XPathResult)
NSString * const DOMException = @"DOMException";
NSString * const DOMRangeException = @"DOMRangeException";
NSString * const DOMEventException = @"DOMEventException";
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
NSString * const DOMXPathException = @"DOMXPathException";
#endif // XPATH_SUPPORT
} else if (ec >= EventExceptionOffset && ec <= EventExceptionMax) {
name = DOMEventException;
code -= EventExceptionOffset;
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
} else if (ec >= XPathExceptionOffset && ec <= XPathExceptionMax) {
name = DOMXPathException;
code -= XPathExceptionOffset;
#import "config.h"
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
#import "DOMXPath.h"
#import "DOMInternal.h"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
#import "DOMXPath.h"
#import "XPathExpression.h"
push(@headerContent, "\n#ifndef $className" . "_H");
push(@headerContent, "\n#define $className" . "_H\n\n");
- push(@headerContent, "#if ${conditional}_SUPPORT\n\n") if $conditional;
+ push(@headerContent, "#ifdef ${conditional}_SUPPORT\n\n") if $conditional;
if (exists $dataNode->extendedAttributes->{"LegacyParent"}) {
push(@headerContent, GetLegacyHeaderIncludes($dataNode->extendedAttributes->{"LegacyParent"}));
push(@implContentHeader, "\n");
push(@implContentHeader,, "#include \"config.h\"\n\n");
- push(@implContentHeader, "#if ${conditional}_SUPPORT\n\n") if $conditional;
+ push(@implContentHeader, "#ifdef ${conditional}_SUPPORT\n\n") if $conditional;
push(@implContentHeader, "#include \"$className.h\"\n\n");
@"application/atom+xml",
@"application/x-webarchive",
@"multipart/x-mixed-replace",
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
@"image/svg+xml",
#endif
nil];
#include "MediaQuery.h"
#include "MediaQueryExp.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ksvgcssproperties.h"
#include "ksvgcssvalues.h"
#endif
const char* s = str.ascii();
int l = str.length();
$$ = getPropertyID(s, l);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if ($$ == 0)
$$ = SVG::getSVGCSSPropertyID(s, l);
#endif
| IDENT maybe_space {
DeprecatedString str = deprecatedString($1);
$$.id = getValueID(str.lower().latin1(), str.length());
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if ($$.id == 0)
$$.id = SVG::getSVGCSSValueID(str.lower().latin1(), str.length());
#endif
}
int id = getPropertyID(buffer, len);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (id == 0)
id = SVG::getSVGCSSPropertyID(buffer, len);
#endif
return parseShorthand(propId, properties, 3, important);
}
default:
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (parseSVGValue(propId, important))
return true;
#endif
CSSPrimitiveValue* parseColor();
CSSPrimitiveValue* parseColorFromValue(Value*);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
bool parseSVGValue(int propId, bool important);
CSSValue* parseSVGPaint();
CSSValue* parseSVGColor();
CSSStyleSheet* CSSStyleSelector::quirksSheet = 0;
CSSStyleSheet* CSSStyleSelector::viewSourceSheet = 0;
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
CSSStyleSheet *CSSStyleSelector::svgSheet = 0;
#endif
defaultStyle->addRulesFromSheet(defaultSheet, &screenEval);
defaultPrintStyle->addRulesFromSheet(defaultSheet, &printEval);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
// SVG rules.
svgSheet = parseUASheet(svgUserAgentStyleSheet);
defaultStyle->addRulesFromSheet(svgSheet, &screenEval);
break;
default:
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
// Try the SVG properties
applySVGProperty(id, value);
#endif
static CSSStyleSheet* defaultSheet;
static CSSStyleSheet* quirksSheet;
static CSSStyleSheet* viewSourceSheet;
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
static CSSStyleSheet* svgSheet;
#endif
HashSet<AtomicStringImpl *> m_selectorAttrs;
void applyProperty(int id, CSSValue *value);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
void applySVGProperty(int id, CSSValue *value);
#endif
};
#include "XMLTokenizer.h"
#include "xmlhttprequest.h"
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
#include "XPathEvaluator.h"
#include "XPathExpression.h"
#include "XPathNSResolver.h"
using XBL::XBLBindingManager;
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDocumentExtensions.h"
#include "SVGElementFactory.h"
#include "SVGZoomEvent.h"
, m_secureForms(0)
, m_designMode(inherit)
, m_selfOnlyRefCount(0)
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
, m_svgExtensions(0)
#endif
#if __APPLE__
assert(!m_inPageCache);
assert(m_savedRenderer == 0);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
delete m_svgExtensions;
#endif
return 0;
}
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (_namespaceURI == SVGNames::svgNamespaceURI)
e = SVGElementFactory::createSVGElement(qName, this, false);
#endif
axObjectCache()->postNotification(renderer(), "AXLoadComplete");
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
// FIXME: Officially, time 0 is when the outermost <svg> receives its
// SVGLoad event, but we don't implement those yet. This is close enough
// for now. In some cases we should have fired earlier.
sheet = 0;
}
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (n->isSVGElement() && n->hasTagName(SVGNames::styleTag)) {
DeprecatedString title;
// <STYLE> element
return new KeyboardEvent();
if (eventType == "HTMLEvents" || eventType == "Event" || eventType == "Events")
return new Event();
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
if (eventType == "SVGEvents")
return new Event();
if (eventType == "SVGZoomEvents")
namespaceURI.impl()), String("").impl()));
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
const SVGDocumentExtensions* Document::svgExtensions()
{
return m_svgExtensions;
return stateVector;
}
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
PassRefPtr<XPathExpression> Document::createExpression(const String& expression,
XPathNSResolver* resolver,
class Text;
class Tokenizer;
class TreeWalker;
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
class XPathEvaluator;
class XPathExpression;
class XPathNSResolver;
struct DashboardRegionValue;
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
class SVGDocumentExtensions;
#endif
// Other methods (not part of DOM)
virtual bool isDocumentNode() const { return true; }
virtual bool isHTMLDocument() const { return false; }
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
virtual bool isSVGDocument() const { return false; }
#endif
virtual bool isPluginDocument() const { return false; }
void finishedParsing();
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
// XPathEvaluator methods
PassRefPtr<XPathExpression> createExpression(const String& expression,
XPathNSResolver* resolver,
HTMLInputElement* checkedRadioButtonForGroup(AtomicStringImpl* name, HTMLFormElement* form);
void removeRadioButtonGroup(AtomicStringImpl* name, HTMLFormElement* form);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
const SVGDocumentExtensions* svgExtensions();
SVGDocumentExtensions* accessSVGExtensions();
#endif
HTMLCollection::CollectionInfo m_collectionInfo[HTMLCollection::UnnamedCollectionTypes];
HashMap<AtomicStringImpl*, HTMLCollection::CollectionInfo> m_nameCollectionInfo[HTMLCollection::CollectionTypes - HTMLCollection::UnnamedCollectionTypes];
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
RefPtr<XPathEvaluator> m_xpathEvaluator;
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
SVGDocumentExtensions* m_svgExtensions;
#endif
Node adoptNode(in Node source)
raises (DOMException);
-#if XPATH_SUPPORT
+#ifdef XPATH_SUPPORT
// DOM Level 3 XPath (XPathEvaluator interface)
XPathExpression createExpression(in DOMString expression,
in XPathNSResolver resolver)
RenderObject *parentRenderer = parent->renderer();
if (parentRenderer && parentRenderer->canHaveChildren()
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
&& parent->childShouldCreateRenderer(this)
#endif
) {
virtual bool isElementNode() const { return false; }
virtual bool isHTMLElement() const { return false; }
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
virtual bool isSVGElement() const { return false; }
#endif
virtual bool isStyledElement() const { return false; }
void createRendererIfNeeded();
virtual RenderStyle* styleForRenderer(RenderObject* parent);
virtual bool rendererIsNeeded(RenderStyle*);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
virtual bool childShouldCreateRenderer(Node*) const { return true; }
#endif
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
#include <libxslt/xslt.h>
#endif
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGNames.h"
#include "XLinkNames.h"
#endif
// don't load external scripts for standalone documents (for now)
if (n->isElementNode() && m_view && (static_cast<Element*>(n)->hasTagName(scriptTag)
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
|| static_cast<Element*>(n)->hasTagName(SVGNames::scriptTag)
#endif
)) {
if (static_cast<Element*>(n)->hasTagName(scriptTag))
scriptHref = scriptElement->getAttribute(srcAttr);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (static_cast<Element*>(n)->hasTagName(SVGNames::scriptTag))
scriptHref = scriptElement->getAttribute(XLinkNames::hrefAttr);
#endif
rootElement->appendChild(body, ec);
documentElement = body.get();
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
else if (documentElement->namespaceURI() == SVGNames::svgNamespaceURI) {
// Until our SVG implementation has text support, it is best if we
// wrap the erroneous SVG document in an xhtml document and render
#include "csshelper.h"
#include "RenderPartObject.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ExceptionCode.h"
#include "SVGDocument.h"
#endif
setAttribute(typeAttr, value);
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
Document* HTMLEmbedElement::contentDocument() const
{
// FIXME: The frame loading code should be moved out of the render tree
String type() const;
void setType(const String&);
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
Document* contentDocument() const;
SVGDocument* getSVGDocument(ExceptionCode&) const;
#endif
#include "Text.h"
#include "csshelper.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDocument.h"
#endif
setAttribute(vspaceAttr, String::number(value));
}
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
SVGDocument* HTMLObjectElement::getSVGDocument(ExceptionCode& ec) const
{
Document* doc = contentDocument();
class HTMLFormElement;
class HTMLImageLoader;
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
class SVGDocument;
#endif
bool isDocNamedItem() const { return m_docNamedItem; }
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
SVGDocument* getSVGDocument(ExceptionCode&) const;
#endif
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasCreator.h"
#include <math.h>
#ifndef KCanvasCreator_H
#define KCanvasCreator_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/KCanvasPath.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasFilters.h"
#include "CachedImage.h"
#ifndef KCanvasFilters_H
#define KCanvasFilters_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "KCanvasResources.h"
#ifndef KCanvasImage_H
#define KCanvasImage_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/KCanvasResources.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasMatrix.h"
#include "KCanvasPath.h"
#ifndef KCanvasMatrix_H
#define KCanvasMatrix_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "AffineTransform.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "TextStream.h"
#ifndef KCanvasPath_H
#define KCanvasPath_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedValueList.h"
#include <wtf/Assertions.h>
#ifndef KCanvasResourceListener_H
#define KCanvasResourceListener_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
class KCanvasResourceListener
{
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasResources.h"
#include "Document.h"
#ifndef KCanvasResources_H
#define KCanvasResources_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/RenderPath.h>
#include <kcanvas/KCanvasPath.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasTreeDebug.h"
#include "HTMLNames.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderForeignObject.h"
#include "GraphicsContext.h"
#ifndef RenderForeignObject_H
#define RenderForeignObject_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderBlock.h"
#include "AffineTransform.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderPath.h"
#include "GraphicsContext.h"
#ifndef KCanvasItem_H
#define KCanvasItem_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedValueList.h"
#include "FloatRect.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasRenderingStyle.h"
#include "KRenderingDevice.h"
#include "RenderSVGContainer.h"
#ifndef KCanvasContainer_H
#define KCanvasContainer_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "kcanvas/RenderPath.h"
#include "RenderContainer.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderSVGImage.h"
#include "Attr.h"
#ifndef KCanvas_RenderSVGImage_H
#define KCanvas_RenderSVGImage_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "AffineTransform.h"
#include "RenderImage.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderSVGText.h"
#include "GraphicsContext.h"
#ifndef RenderSVGText_H
#define RenderSVGText_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "RenderBlock.h"
#include "AffineTransform.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KRenderingDevice.h"
namespace WebCore {
#ifndef KRenderingDevice_H
#define KRenderingDevice_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/KCanvasFilters.h>
#include <kcanvas/device/KRenderingPaintServer.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KRenderingDevice.h"
#include "KRenderingFillPainter.h"
#include "KRenderingPaintServer.h"
#ifndef KRenderingFillPainter_H
#define KRenderingFillPainter_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/KCanvasPath.h>
#ifndef KRenderingPaintServer_H
#define KRenderingPaintServer_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/KCanvasResources.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "IntPoint.h"
#include "KRenderingPaintServerGradient.h"
#ifndef KRenderingPaintServerGradient_H
#define KRenderingPaintServerGradient_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/device/KRenderingPaintServer.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasMatrix.h"
#include "KCanvasImage.h"
#include "KRenderingPaintServerPattern.h"
#ifndef KRenderingPaintServerPattern_H
#define KRenderingPaintServerPattern_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/device/KRenderingPaintServer.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KRenderingPaintServerSolid.h"
#include "TextStream.h"
#include "KCanvasTreeDebug.h"
#ifndef KRenderingPaintServerSolid_H
#define KRenderingPaintServerSolid_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kcanvas/device/KRenderingPaintServer.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KRenderingPaintServer.h"
#include "KRenderingStrokePainter.h"
#ifndef KRenderingStrokePainter_H
#define KRenderingStrokePainter_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasRenderingStyle.h"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasFilters.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasFilterQuartz.h"
#import "BlockExceptions.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasItemQuartz.h"
#import <wtf/Assertions.h>
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasMaskerQuartz.h"
#import "SVGRenderStyle.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasPathQuartz.h"
#include "QuartzSupport.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasResourcesQuartz.h"
#import "GraphicsContext.h"
#ifndef KRenderingDeviceQuartz_H
#define KRenderingDeviceQuartz_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import <kcanvas/device/KRenderingDevice.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KRenderingDeviceQuartz.h"
#import "FoundationExtras.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KRenderingPaintServerQuartz.h"
#import "QuartzSupport.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KRenderingPaintServerQuartz.h"
#import "QuartzSupport.h"
#import "KCanvasResourcesQuartz.h"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "KCanvasRenderingStyle.h" // for all the CAP_BUTT contstants, etc.
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#import "QuartzSupport.h"
#import "GraphicsContext.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "JSSVGElementWrapperFactory.h"
#ifndef JSSVGELEMENTWRAPPERFACTORY_H
#define JSSVGELEMENTWRAPPERFACTORY_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <wtf/Forward.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ksvg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "cssstyleselector.h"
#include "SVGColor.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGRenderStyle.h"
using namespace WebCore;
#ifndef KSVG_SVGRenderStyle_H
#define KSVG_SVGRenderStyle_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DataRef.h"
#include <ksvg2/svg/SVGPaint.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ksvg.h"
#include "RenderStyle.h"
#include "SVGRenderStyle.h"
#ifndef KSVG_SVGRenderStyleDefs_H
#define KSVG_SVGRenderStyleDefs_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedString.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kdom/core/Document.h>
#include "GlobalObject.h"
#ifndef GlobalObject_H
#define GlobalObject_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kdom/ecma/GlobalObject.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "JSSVGLazyEventListener.h"
#ifndef JSSVGLazyEventListener_H
#define JSSVGLazyEventListener_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "kjs_events.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGZoomEvent.h"
using namespace WebCore;
#ifndef SVGZoomEvent_H
#define SVGZoomEvent_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "FloatRect.h"
#include "UIEvent.h"
#ifndef KSVG_H
#define KSVG_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
/**
* @short General namespace specific definitions.
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "CSSValueList.h"
#include "Document.h"
#ifndef KSVG_KCanvasRenderingStyle_H
#define KSVG_KCanvasRenderingStyle_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedValueList.h"
#include <kcanvas/KCanvasMatrix.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KSVGTimeScheduler.h"
#include "Document.h"
#ifndef KSVG_TimeScheduler_H
#define KSVG_TimeScheduler_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <wtf/HashSet.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDocumentExtensions.h"
#include "Document.h"
#ifndef SVGDocumentExtensions_H
#define SVGDocumentExtensions_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "DocLoader.h"
#ifndef KSVG_SVGImageLoader_H
#define KSVG_SVGImageLoader_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "HTMLImageLoader.h"
#ifndef KDOM_DOMList_H
#define KDOM_DOMList_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedPtrList.h"
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAElement.h"
#include "Attr.h"
#ifndef KSVG_SVGAElementImpl_H
#define KSVG_SVGAElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
//#include "SVGAngle.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <math.h>
#include <ksvg2/ksvg.h>
#ifndef KSVG_SVGAngleImpl_H
#define KSVG_SVGAngleImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "PlatformString.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimateColorElement.h"
#include "KSVGTimeScheduler.h"
#include "PlatformString.h"
#ifndef KSVG_SVGAnimateColorElementImpl_H
#define KSVG_SVGAnimateColorElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimationElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimateElement.h"
#include "KSVGTimeScheduler.h"
#ifndef KSVG_SVGAnimateElementImpl_H
#define KSVG_SVGAnimateElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimationElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include <kcanvas/RenderPath.h>
#ifndef KSVG_SVGAnimateTransformElementImpl_H
#define KSVG_SVGAnimateTransformElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ksvg.h"
#include "SVGAnimationElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedAngle.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedAngleImpl_H
#define KSVG_SVGAnimatedAngleImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAngle.h"
#include "SVGAnimatedTemplate.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
#include "SVGAnimatedBoolean.h"
#ifndef KSVG_SVGAnimatedBooleanImpl_H
#define KSVG_SVGAnimatedBooleanImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedColor.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedColorImpl_H
#define KSVG_SVGAnimatedColorImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedTemplate.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
#include "SVGAnimatedEnumeration.h"
#ifndef KSVG_SVGAnimatedEnumerationImpl_H
#define KSVG_SVGAnimatedEnumerationImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
#include "SVGAnimatedInteger.h"
#ifndef KSVG_SVGAnimatedIntegerImpl_H
#define KSVG_SVGAnimatedIntegerImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedLength.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedLengthImpl_H
#define KSVG_SVGAnimatedLengthImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLength.h"
#include "SVGAnimatedTemplate.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLengthList.h"
#include "SVGAnimatedLengthList.h"
#ifndef KSVG_SVGAnimatedLengthListImpl_H
#define KSVG_SVGAnimatedLengthListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedTemplate.h"
#include "SVGLengthList.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
#include "SVGAnimatedNumber.h"
#ifndef KSVG_SVGAnimatedNumberImpl_H
#define KSVG_SVGAnimatedNumberImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGNumberList.h"
#include "SVGAnimatedNumberList.h"
#ifndef KSVG_SVGAnimatedNumberListImpl_H
#define KSVG_SVGAnimatedNumberListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedTemplate.h"
#include "SVGNumberList.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedPathData.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedPathDataImpl_H
#define KSVG_SVGAnimatedPathDataImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
namespace WebCore
{
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedPoints.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedPointsImpl_H
#define KSVG_SVGAnimatedPointsImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
namespace WebCore
{
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedPreserveAspectRatio.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedPreserveAspectRatioImpl_H
#define KSVG_SVGAnimatedPreserveAspectRatioImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedRect.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedRectImpl_H
#define KSVG_SVGAnimatedRectImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGRect.h"
#include "SVGAnimatedTemplate.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedString.h"
using namespace WebCore;
#ifndef KSVG_SVGAnimatedStringImpl_H
#define KSVG_SVGAnimatedStringImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedTemplate.h"
#ifndef KSVG_SVGAnimatedTemplate_H
#define KSVG_SVGAnimatedTemplate_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTransformList.h"
#include "SVGAnimatedTransformList.h"
#ifndef KSVG_SVGAnimatedTransformListImpl_H
#define KSVG_SVGAnimatedTransformListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimatedTemplate.h"
#include "SVGTransformList.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGAnimationElement.h"
#include "Attr.h"
#ifndef KSVG_SVGAnimationElementImpl_H
#define KSVG_SVGAnimationElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGExternalResourcesRequired.h"
#include "SVGStringList.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "SVGNames.h"
#ifndef KSVG_SVGCircleElementImpl_H
#define KSVG_SVGCircleElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGClipPathElement.h"
#include "Attr.h"
#ifndef KSVG_SVGClipPathElementImpl_H
#define KSVG_SVGClipPathElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGColor.h"
#include "DeprecatedStringList.h"
#ifndef KSVG_SVGColorImpl_H
#define KSVG_SVGColorImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "CSSValue.h"
#include "Color.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGComponentTransferFunctionElementImpl_H
#define KSVG_SVGComponentTransferFunctionElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGElement.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGCursorElement.h"
#include "Attr.h"
#ifndef KSVG_SVGCursorElementImpl_H
#define KSVG_SVGCursorElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Image.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDOMImplementation.h"
#include "CSSStyleSheet.h"
#ifndef KSVG_SVGDOMImplementationImpl_H
#define KSVG_SVGDOMImplementationImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DOMImplementation.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDefsElement.h"
using namespace WebCore;
#ifndef KSVG_SVGDefsElementImpl_H
#define KSVG_SVGDefsElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledTransformableElement.h"
#include "SVGTests.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDescElement.h"
using namespace WebCore;
#ifndef KSVG_SVGDescElementImpl_H
#define KSVG_SVGDescElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLangSpace.h"
#include "SVGStyledElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGDocument.h"
#include "EventNames.h"
#ifndef KSVG_SVGDocumentImpl_H
#define KSVG_SVGDocumentImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Document.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGElement.h"
#include "Attr.h"
#ifndef KSVG_SVGElementImpl_H
#define KSVG_SVGElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "StyledElement.h"
#include "SVGNames.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGElement.h"
#include "SVGUseElement.h"
#include "SVGElementInstance.h"
#ifndef KSVG_SVGElementInstanceImpl_H
#define KSVG_SVGElementInstanceImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <kdom/events/EventTarget.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGElementInstanceList.h"
using namespace WebCore;
#ifndef KSVG_SVGElementInstanceListImpl_H
#define KSVG_SVGElementInstanceListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGList.h"
#include "SVGElementInstance.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "SVGNames.h"
#ifndef KSVG_SVGEllipseElementImpl_H
#define KSVG_SVGEllipseElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGExternalResourcesRequired.h"
#include "Attr.h"
#ifndef KSVG_SVGExternalResourcesRequiredImpl_H
#define KSVG_SVGExternalResourcesRequiredImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <wtf/RefPtr.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEBlendElementImpl_H
#define KSVG_SVGFEBlendElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEColorMatrixElementImpl_H
#define KSVG_SVGFEColorMatrixElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEComponentTransferElementImpl_H
#define KSVG_SVGFEComponentTransferElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFECompositeElementImpl_H
#define KSVG_SVGFECompositeElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEDiffuseLightingElementImpl_H
#define KSVG_SVGFEDiffuseLightingElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEDisplacementMapElementImpl_H
#define KSVG_SVGFEDisplacementMapElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEDistantLightElement.h"
#include "SVGAnimatedNumber.h"
#ifndef KSVG_SVGFEDistantLightElementImpl_H
#define KSVG_SVGFEDistantLightElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFELightElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEFloodElement.h"
#include "Attr.h"
#ifndef KSVG_SVGFEFloodElementImpl_H
#define KSVG_SVGFEFloodElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEFuncAElement.h"
using namespace WebCore;
#ifndef KSVG_SVGFEFuncAElementImpl_H
#define KSVG_SVGFEFuncAElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGComponentTransferFunctionElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEFuncBElement.h"
using namespace WebCore;
#ifndef KSVG_SVGFEFuncBElementImpl_H
#define KSVG_SVGFEFuncBElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGComponentTransferFunctionElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEFuncGElement.h"
using namespace WebCore;
#ifndef KSVG_SVGFEFuncGElementImpl_H
#define KSVG_SVGFEFuncGElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGComponentTransferFunctionElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEFuncRElement.h"
using namespace WebCore;
#ifndef KSVG_SVGFEFuncRElementImpl_H
#define KSVG_SVGFEFuncRElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGComponentTransferFunctionElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEGaussianBlurElementImpl_H
#define KSVG_SVGFEGaussianBlurElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEImageElement.h"
#include "Attr.h"
#ifndef KSVG_SVGFEImageElementImpl_H
#define KSVG_SVGFEImageElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "SVGURIReference.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFELightElementImpl_H
#define KSVG_SVGFELightElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGElement.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEMergeElementImpl_H
#define KSVG_SVGFEMergeElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "SVGHelper.h"
#ifndef KSVG_SVGFEMergeNodeElementImpl_H
#define KSVG_SVGFEMergeNodeElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <SVGElement.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFEOffsetElementImpl_H
#define KSVG_SVGFEOffsetElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFEPointLightElement.h"
#include "SVGAnimatedNumber.h"
#ifndef KSVG_SVGFEPointLightElementImpl_H
#define KSVG_SVGFEPointLightElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFELightElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFESpecularLightingElementImpl_H
#define KSVG_SVGFESpecularLightingElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFESpotLightElement.h"
#include "SVGAnimatedNumber.h"
#ifndef KSVG_SVGFESpotLightElementImpl_H
#define KSVG_SVGFESpotLightElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFELightElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFETileElementImpl_H
#define KSVG_SVGFETileElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFETurbulenceElementImpl_H
#define KSVG_SVGFETurbulenceElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include <kcanvas/KCanvasResources.h>
#ifndef KSVG_SVGFilterElementImpl_H
#define KSVG_SVGFilterElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLangSpace.h"
#include "SVGURIReference.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include <wtf/Assertions.h>
#ifndef KSVG_SVGFilterPrimitiveStandardAttributesImpl_H
#define KSVG_SVGFilterPrimitiveStandardAttributesImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "Attr.h"
#ifndef KSVG_SVGFitToViewBoxImpl_H
#define KSVG_SVGFitToViewBoxImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
namespace WebCore {
class Attribute;
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGForeignObjectElement.h"
#ifndef KSVG_SVGForeignObjectElementImpl_H
#define KSVG_SVGForeignObjectElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGGElement.h"
#include <kcanvas/KCanvasCreator.h>
#ifndef KSVG_SVGGElementImpl_H
#define KSVG_SVGGElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGStyledTransformableElement.h"
#include "SVGTests.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGGradientElement.h"
#include "Attr.h"
#ifndef KSVG_SVGGradientElementImpl_H
#define KSVG_SVGGradientElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGURIReference.h"
#include "SVGStyledElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGHelper.h"
#include "Document.h"
#ifndef KSVG_SVGHelper_H
#define KSVG_SVGHelper_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedString.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGImageElement.h"
#include "Attr.h"
#ifndef KSVG_SVGImageElementImpl_H
#define KSVG_SVGImageElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGImageLoader.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLangSpace.h"
#include "Attr.h"
#ifndef KSVG_SVGLangSpaceImpl_H
#define KSVG_SVGLangSpaceImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "AtomicString.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "IntRect.h"
#include <kcanvas/RenderPath.h>
#ifndef KSVG_SVGLengthImpl_H
#define KSVG_SVGLengthImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "PlatformString.h"
#include <ksvg2/svg/SVGHelper.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "SVGMatrix.h"
#ifndef KSVG_SVGLengthListImpl_H
#define KSVG_SVGLengthListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGList.h"
#include "SVGLength.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "SVGNames.h"
#ifndef KSVG_SVGLineElementImpl_H
#define KSVG_SVGLineElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "ksvg.h"
#ifndef KSVG_SVGLinearGradientElementImpl_H
#define KSVG_SVGLinearGradientElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <SVGGradientElement.h>
#ifndef KSVG_SVGList_H
#define KSVG_SVGList_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DOMList.h"
#include <ksvg2/svg/SVGStyledElement.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGLocatable.h"
#include "SVGElement.h"
#ifndef SVGLocatable_H
#define SVGLocatable_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
namespace WebCore {
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGMarkerElement.h"
#include "Attr.h"
#ifndef KSVG_SVGMarkerElementImpl_H
#define KSVG_SVGMarkerElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "KCanvasResources.h"
#include "SVGExternalResourcesRequired.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGMaskElement.h"
#include "GraphicsContext.h"
#ifndef KSVG_SVGMaskElementImpl_H
#define KSVG_SVGMaskElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <math.h>
#include "ksvg.h"
#ifndef KSVG_SVGMatrixImpl_H
#define KSVG_SVGMatrixImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "AffineTransform.h"
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGNumber.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGNumberImpl_H
#define KSVG_SVGNumberImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedStringList.h"
#include "SVGMatrix.h"
#ifndef KSVG_SVGNumberListImpl_H
#define KSVG_SVGNumberListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGList.h"
#include "SVGNumber.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "ksvg.h"
#include "SVGPaint.h"
#ifndef KSVG_SVGPaintImpl_H
#define KSVG_SVGPaintImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <SVGColor.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "ksvg.h"
#ifndef KSVG_SVGPathElementImpl_H
#define KSVG_SVGPathElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "svgpathparser.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
using namespace WebCore;
#ifndef KSVG_SVGPathSegImpl_H
#define KSVG_SVGPathSegImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "PlatformString.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegArc.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegArcImpl_H
#define KSVG_SVGPathSegArcImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegClosePath.h"
using namespace WebCore;
#ifndef KSVG_SVGPathSegClosePathImpl_H
#define KSVG_SVGPathSegClosePathImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <ksvg2/svg/SVGPathSeg.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegCurvetoCubic.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegCurvetoCubicImpl_H
#define KSVG_SVGPathSegCurvetoCubicImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegCurvetoCubicSmooth.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegCurvetoCubicSmoothImpl_H
#define KSVG_SVGPathSegCurvetoCubicSmoothImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegCurvetoQuadratic.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegCurvetoQuadraticImpl_H
#define KSVG_SVGPathSegCurvetoQuadraticImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegCurvetoQuadraticSmooth.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegCurvetoQuadraticSmoothImpl_H
#define KSVG_SVGPathSegCurvetoQuadraticSmoothImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegLineto.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegLinetoImpl_H
#define KSVG_SVGPathSegLinetoImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <ksvg2/svg/SVGPathSeg.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegLinetoHorizontal.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegLinetoHorizontalImpl_H
#define KSVG_SVGPathSegLinetoHorizontalImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <ksvg2/svg/SVGPathSeg.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegLinetoVertical.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegLinetoVerticalImpl_H
#define KSVG_SVGPathSegLinetoVerticalImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <ksvg2/svg/SVGPathSeg.h>
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegList.h"
using namespace WebCore;
#ifndef KSVG_SVGPathSegListImpl_H
#define KSVG_SVGPathSegListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGList.h"
#include "SVGPathSeg.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPathSegMoveto.h"
#include "SVGStyledElement.h"
#ifndef KSVG_SVGPathSegMovetoImpl_H
#define KSVG_SVGPathSegMovetoImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <ksvg2/svg/SVGPathSeg.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPatternElement.h"
#include "Attr.h"
#ifndef KSVG_SVGPatternElementImpl_H
#define KSVG_SVGPatternElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "SVGLangSpace.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPoint.h"
#include "SVGMatrix.h"
#ifndef KSVG_SVGPointImpl_H
#define KSVG_SVGPointImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPointList.h"
using namespace WebCore;
#ifndef KSVG_SVGPointListImpl_H
#define KSVG_SVGPointListImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGList.h"
#include "SVGPoint.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPolyElement.h"
#include "Attr.h"
#ifndef KSVG_SVGPolyElementImpl_H
#define KSVG_SVGPolyElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGTests.h"
#include "svgpathparser.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPointList.h"
#include "SVGPolygonElement.h"
#ifndef KSVG_SVGPolygonElementImpl_H
#define KSVG_SVGPolygonElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPolyElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPointList.h"
#include "SVGPolylineElement.h"
#ifndef KSVG_SVGPolylineElementImpl_H
#define KSVG_SVGPolylineElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGPolyElement.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "DeprecatedString.h"
#include "DeprecatedStringList.h"
#ifndef KSVG_SVGPreserveAspectRatioImpl_H
#define KSVG_SVGPreserveAspectRatioImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Shared.h"
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "Attr.h"
#include "ksvg.h"
#ifndef KSVG_SVGRadialGradientElementImpl_H
#define KSVG_SVGRadialGradientElementImpl_H
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include <SVGGradientElement.h>
*/
#include "config.h"
-#if SVG_SUPPORT
+#ifdef SVG_SUPPORT
#include "SVGHelper.h"
#include "SVGRect.h"
#include "SVGStyledElement.h"