Changeset 94284 in webkit


Ignore:
Timestamp:
Sep 1, 2011 3:24:09 AM (13 years ago)
Author:
Patrick Gansterer
Message:

Replace preprocessor statements in DOMWindow.idl with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=65050

Reviewed by Brent Fulgham.

Many attributes use the [Conditional=XXX] syntax already.
Unify the declaration of conditional attributes of DOMWindow
with the corresponding Conditional attribute.
This reduces the need of the preprocessor which is the
the source of much pain on native windows.

  • page/DOMWindow.idl:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r94282 r94284  
     12011-09-01  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Replace preprocessor statements in DOMWindow.idl with Conditional attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=65050
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Many attributes use the [Conditional=XXX] syntax already.
     9        Unify the declaration of conditional attributes of DOMWindow
     10        with the corresponding Conditional attribute.
     11        This reduces the need of the preprocessor which is the
     12        the source of much pain on native windows.
     13
     14        * page/DOMWindow.idl:
     15
    1162011-09-01  Yuta Kitamura  <yutak@chromium.org>
    217
  • trunk/Source/WebCore/page/DOMWindow.idl

    r94147 r94284  
    164164                                                     in [Optional=CallWithDefaultValue] WebKitPoint p);
    165165
    166 #if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS
    167         readonly attribute [EnabledAtRuntime] DOMApplicationCache applicationCache;
    168 #endif   
     166        readonly attribute [Conditional=OFFLINE_WEB_APPLICATIONS, EnabledAtRuntime] DOMApplicationCache applicationCache;
    169167#if defined(ENABLE_DATABASE) && ENABLE_DATABASE
    170168        [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
    171169            raises(DOMException);
    172170#endif
    173 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
    174         readonly attribute [EnabledAtRuntime] Storage sessionStorage
     171
     172        readonly attribute [Conditional=DOM_STORAGE, EnabledAtRuntime] Storage sessionStorage
    175173            getter raises(DOMException);
    176         readonly attribute [EnabledAtRuntime] Storage localStorage
     174        readonly attribute [Conditional=DOM_STORAGE, EnabledAtRuntime] Storage localStorage
    177175            getter raises(DOMException);
    178 #endif
     176
    179177#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
    180178        readonly attribute [EnabledAtRuntime] NotificationCenter webkitNotifications;
     
    203201#endif
    204202
    205 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
    206203        // This is the interface orientation in degrees. Some examples are:
    207204        //  0 is straight up; -90 is when the device is rotated 90 clockwise;
    208205        //  90 is when rotated counter clockwise.
    209         readonly attribute long orientation;
    210 #endif
    211 
    212                  attribute [Replaceable] Console console;
     206        readonly attribute [Conditional=ORIENTATION_EVENTS] long orientation;
     207
     208        attribute [Replaceable] Console console;
    213209
    214210        // cross-document messaging
     
    222218#endif
    223219
    224 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING
    225         attribute [Replaceable] Performance performance;
    226 #endif
     220        attribute [Conditional=WEB_TIMING, Replaceable] Performance performance;
    227221
    228222        // Timers
     
    327321        attribute EventListener onwebkitanimationstart;
    328322        attribute EventListener onwebkittransitionend;
    329 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
    330         attribute EventListener onorientationchange;
    331 #endif
     323
     324        attribute [Conditional=ORIENTATION_EVENTS] EventListener onorientationchange;
     325
    332326        attribute [Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchstart;
    333327        attribute [Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchmove;
     
    452446        attribute HTMLMenuElementConstructor HTMLMenuElement;
    453447        attribute HTMLMetaElementConstructor HTMLMetaElement;
    454 #if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG
    455         attribute HTMLMeterElementConstructor HTMLMeterElement;
    456 #endif
     448        attribute [Conditional=METER_TAG] HTMLMeterElementConstructor HTMLMeterElement;
    457449        attribute HTMLModElementConstructor HTMLModElement;
    458450        attribute HTMLOListElementConstructor HTMLOListElement;
     
    464456        attribute HTMLParamElementConstructor HTMLParamElement;
    465457        attribute HTMLPreElementConstructor HTMLPreElement;
    466 #if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG
    467         attribute HTMLProgressElementConstructor HTMLProgressElement;
    468 #endif
     458        attribute [Conditional=PROGRESS_TAG] HTMLProgressElementConstructor HTMLProgressElement;
    469459        attribute HTMLQuoteElementConstructor HTMLQuoteElement;
    470460        attribute HTMLScriptElementConstructor HTMLScriptElement;
     
    555545        attribute RangeExceptionConstructor RangeException;
    556546
    557 #if ENABLE_EVENTSOURCE
    558         attribute [JSCCustomGetter] EventSourceConstructor EventSource; // Usable with new the operator
    559 #endif
     547        attribute [Conditional=EVENTSOURCE, JSCCustomGetter] EventSourceConstructor EventSource; // Usable with new the operator
    560548
    561549        // Mozilla has a separate XMLDocument object for XML documents.
     
    572560        attribute [JSCCustomGetter,Conditional=XSLT] XSLTProcessorConstructor XSLTProcessor; // Usable with the new operator
    573561
    574 #if defined(ENABLE_CHANNEL_MESSAGING) && ENABLE_CHANNEL_MESSAGING
    575         attribute MessagePortConstructor MessagePort;
    576         attribute [JSCCustomGetter] MessageChannelConstructor MessageChannel; // Usable with the new operator
    577 #endif
    578 
    579 #if defined(ENABLE_WORKERS) && ENABLE_WORKERS
    580         attribute [JSCCustomGetter] WorkerConstructor Worker; // Usable with the new operator
    581 #endif
    582 
    583 #if defined(ENABLE_SHARED_WORKERS) && ENABLE_SHARED_WORKERS
    584         attribute [JSCCustomGetter, EnabledAtRuntime] SharedWorkerConstructor SharedWorker; // Usable with the new operator
    585 #endif
    586 
    587 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS
    588         attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator
    589         attribute CloseEventConstructor CloseEvent;
    590 #endif
     562        attribute [Conditional=CHANNEL_MESSAGING] MessagePortConstructor MessagePort;
     563        attribute [Conditional=CHANNEL_MESSAGING, JSCCustomGetter] MessageChannelConstructor MessageChannel; // Usable with the new operator
     564
     565        attribute [Conditional=WORKERS, JSCCustomGetter] WorkerConstructor Worker; // Usable with the new operator
     566
     567        attribute [Conditional=SHARED_WORKERS, JSCCustomGetter, EnabledAtRuntime] SharedWorkerConstructor SharedWorker; // Usable with the new operator
     568
     569        attribute [Conditional=WEB_SOCKETS, JSCCustomGetter, EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator
     570        attribute [Conditional=WEB_SOCKETS] CloseEventConstructor CloseEvent;
    591571
    592572        attribute DOMPluginConstructor Plugin;
     
    599579        attribute ClientRectListConstructor ClientRectList;
    600580
    601 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
    602         attribute StorageConstructor Storage;
    603         attribute StorageEventConstructor StorageEvent;
    604 #endif
     581        attribute [Conditional=DOM_STORAGE] StorageConstructor Storage;
     582        attribute [Conditional=DOM_STORAGE] StorageEventConstructor StorageEvent;
    605583
    606584        attribute [CustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor Audio; // Usable with the new operator
     
    612590        attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLSourceElementConstructor HTMLSourceElement;
    613591
    614 #if defined(ENABLE_ANIMATION_API) && ENABLE_ANIMATION_API
    615         attribute WebKitAnimationConstructor WebKitAnimation;
    616         attribute WebKitAnimationListConstructor WebKitAnimationList;
    617 #endif
    618 
    619 #if defined(ENABLE_XPATH) && ENABLE_XPATH
    620         attribute XPathEvaluatorConstructor XPathEvaluator;
    621         attribute XPathResultConstructor XPathResult;
    622         attribute XPathExceptionConstructor XPathException;
    623 #endif
    624 
    625 #if defined(ENABLE_SVG) && ENABLE_SVG
     592        attribute [Conditional=ANIMATION_API] WebKitAnimationConstructor WebKitAnimation;
     593        attribute [Conditional=ANIMATION_API] WebKitAnimationListConstructor WebKitAnimationList;
     594
     595        attribute [Conditional=XPATH] XPathEvaluatorConstructor XPathEvaluator;
     596        attribute [Conditional=XPATH] XPathResultConstructor XPathResult;
     597        attribute [Conditional=XPATH] XPathExceptionConstructor XPathException;
     598
    626599        // Expose all implemented SVG 1.1 interfaces, excluding the SVG MI interfaces:
    627600        // SVGAnimatedPathData, SVGAnimatedPoints, SVGExternalResourcesRequired,
    628601        // SVGFilterPrimitiveStandardAttributes, SVGFitToViewBox, SVGLangSpace, SVGLocatable
    629602        // SVGStylable, SVGTests, SVGTransformable, SVGURIReference, SVGZoomAndPan
    630         attribute SVGAElementConstructor SVGAElement;
    631         attribute SVGAngleConstructor SVGAngle;
    632         attribute SVGAnimatedAngleConstructor SVGAnimatedAngle;
    633         attribute SVGAnimatedBooleanConstructor SVGAnimatedBoolean;
    634         attribute SVGAnimatedEnumerationConstructor SVGAnimatedEnumeration;
    635         attribute SVGAnimatedIntegerConstructor SVGAnimatedInteger;
    636         attribute SVGAnimatedLengthConstructor SVGAnimatedLength;
    637         attribute SVGAnimatedLengthListConstructor SVGAnimatedLengthList;
    638         attribute SVGAnimatedNumberConstructor SVGAnimatedNumber;
    639         attribute SVGAnimatedNumberListConstructor SVGAnimatedNumberList;
    640         attribute SVGAnimatedPreserveAspectRatioConstructor SVGAnimatedPreserveAspectRatio;
    641         attribute SVGAnimatedRectConstructor SVGAnimatedRect;
    642         attribute SVGAnimatedStringConstructor SVGAnimatedString;
    643         attribute SVGAnimatedTransformListConstructor SVGAnimatedTransformList;
    644         attribute SVGCircleElementConstructor SVGCircleElement;
    645         attribute SVGClipPathElementConstructor SVGClipPathElement;
    646         attribute SVGColorConstructor SVGColor;
    647         attribute SVGCursorElementConstructor SVGCursorElement;
    648 //      attribute SVGCSSRuleConstructor SVGCSSRule;
    649         attribute SVGDefsElementConstructor SVGDefsElement;
    650         attribute SVGDescElementConstructor SVGDescElement;
    651         attribute SVGDocumentConstructor SVGDocument;
    652         attribute SVGElementConstructor SVGElement;
    653         attribute SVGElementInstanceConstructor SVGElementInstance;
    654         attribute SVGElementInstanceListConstructor SVGElementInstanceList;
    655         attribute SVGEllipseElementConstructor SVGEllipseElement;
    656         attribute SVGExceptionConstructor SVGException;
    657         attribute SVGGElementConstructor SVGGElement;
    658         attribute SVGGradientElementConstructor SVGGradientElement;
    659         attribute SVGImageElementConstructor SVGImageElement;
    660         attribute SVGLengthConstructor SVGLength;
    661         attribute SVGLengthListConstructor SVGLengthList;
    662         attribute SVGLinearGradientElementConstructor SVGLinearGradientElement;
    663         attribute SVGLineElementConstructor SVGLineElement;
    664         attribute SVGMarkerElementConstructor SVGMarkerElement;
    665         attribute SVGMaskElementConstructor SVGMaskElement;
    666         attribute SVGMatrixConstructor SVGMatrix;
    667         attribute SVGMetadataElementConstructor SVGMetadataElement;
    668         attribute SVGNumberConstructor SVGNumber;
    669         attribute SVGNumberListConstructor SVGNumberList;
    670         attribute SVGPaintConstructor SVGPaint;
    671         attribute SVGPathElementConstructor SVGPathElement;
    672         attribute SVGPathSegConstructor SVGPathSeg;
    673         attribute SVGPathSegArcAbsConstructor SVGPathSegArcAbs;
    674         attribute SVGPathSegArcRelConstructor SVGPathSegArcRel;
    675         attribute SVGPathSegClosePathConstructor SVGPathSegClosePath;
    676         attribute SVGPathSegCurvetoCubicAbsConstructor SVGPathSegCurvetoCubicAbs;
    677         attribute SVGPathSegCurvetoCubicRelConstructor SVGPathSegCurvetoCubicRel;
    678         attribute SVGPathSegCurvetoCubicSmoothAbsConstructor SVGPathSegCurvetoCubicSmoothAbs;
    679         attribute SVGPathSegCurvetoCubicSmoothRelConstructor SVGPathSegCurvetoCubicSmoothRel;
    680         attribute SVGPathSegCurvetoQuadraticAbsConstructor SVGPathSegCurvetoQuadraticAbs;
    681         attribute SVGPathSegCurvetoQuadraticRelConstructor SVGPathSegCurvetoQuadraticRel;
    682         attribute SVGPathSegCurvetoQuadraticSmoothAbsConstructor SVGPathSegCurvetoQuadraticSmoothAbs;
    683         attribute SVGPathSegCurvetoQuadraticSmoothRelConstructor SVGPathSegCurvetoQuadraticSmoothRel;
    684         attribute SVGPathSegLinetoAbsConstructor SVGPathSegLinetoAbs;
    685         attribute SVGPathSegLinetoHorizontalAbsConstructor SVGPathSegLinetoHorizontalAbs;
    686         attribute SVGPathSegLinetoHorizontalRelConstructor SVGPathSegLinetoHorizontalRel;
    687         attribute SVGPathSegLinetoRelConstructor SVGPathSegLinetoRel;
    688         attribute SVGPathSegLinetoVerticalAbsConstructor SVGPathSegLinetoVerticalAbs;
    689         attribute SVGPathSegLinetoVerticalRelConstructor SVGPathSegLinetoVerticalRel;
    690         attribute SVGPathSegListConstructor SVGPathSegList;
    691         attribute SVGPathSegMovetoAbsConstructor SVGPathSegMovetoAbs;
    692         attribute SVGPathSegMovetoRelConstructor SVGPathSegMovetoRel;
    693         attribute SVGPatternElementConstructor SVGPatternElement;
    694         attribute SVGPointConstructor SVGPoint;
    695         attribute SVGPointListConstructor SVGPointList;
    696         attribute SVGPolygonElementConstructor SVGPolygonElement;
    697         attribute SVGPolylineElementConstructor SVGPolylineElement;
    698         attribute SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio;
    699         attribute SVGRadialGradientElementConstructor SVGRadialGradientElement;
    700         attribute SVGRectConstructor SVGRect;
    701         attribute SVGRectElementConstructor SVGRectElement;
    702         attribute SVGRenderingIntentConstructor SVGRenderingIntent;
    703         attribute SVGScriptElementConstructor SVGScriptElement;
    704         attribute SVGStopElementConstructor SVGStopElement;
    705         attribute SVGStringListConstructor SVGStringList;
    706         attribute SVGStyleElementConstructor SVGStyleElement;
    707         attribute SVGSVGElementConstructor SVGSVGElement;
    708         attribute SVGSwitchElementConstructor SVGSwitchElement;
    709         attribute SVGSymbolElementConstructor SVGSymbolElement;
    710         attribute SVGTextContentElementConstructor SVGTextContentElement;
    711         attribute SVGTextElementConstructor SVGTextElement;
    712         attribute SVGTextPathElementConstructor SVGTextPathElement;
    713         attribute SVGTextPositioningElementConstructor SVGTextPositioningElement;
    714         attribute SVGTitleElementConstructor SVGTitleElement;
    715         attribute SVGTransformConstructor SVGTransform;
    716         attribute SVGTransformListConstructor SVGTransformList;
    717         attribute SVGTRefElementConstructor SVGTRefElement;
    718         attribute SVGTSpanElementConstructor SVGTSpanElement;
    719         attribute SVGUnitTypesConstructor SVGUnitTypes;
    720         attribute SVGUseElementConstructor SVGUseElement;
    721         attribute SVGViewElementConstructor SVGViewElement;
    722 //      attribute SVGViewSpecConstructor SVGViewSpec;
    723         attribute SVGZoomEventConstructor SVGZoomEvent;
    724 
    725 #if defined(ENABLE_SVG_ANIMATION) && ENABLE_SVG_ANIMATION
    726         attribute SVGAnimateColorElementConstructor SVGAnimateColorElement;
    727         attribute SVGAnimateElementConstructor SVGAnimateElement;
    728         attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement;
    729         attribute SVGAnimateTransformElementConstructor SVGAnimateTransformElement;
    730         attribute SVGMPathElementConstructor SVGMPathElement;
    731         attribute SVGSetElementConstructor SVGSetElement;
    732 #endif
    733 
    734 #if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS
    735         attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
    736         attribute SVGAltGlyphElementConstructor SVGAltGlyphElement;
    737         attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
    738 //      attribute SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement;
    739         attribute SVGFontElementConstructor SVGFontElement;
    740         attribute SVGFontFaceElementConstructor SVGFontFaceElement;
    741         attribute SVGFontFaceFormatElementConstructor SVGFontFaceFormatElement;
    742         attribute SVGFontFaceNameElementConstructor SVGFontFaceNameElement;
    743         attribute SVGFontFaceSrcElementConstructor SVGFontFaceSrcElement;
    744         attribute SVGFontFaceUriElementConstructor SVGFontFaceUriElement;
    745         attribute SVGGlyphElementConstructor SVGGlyphElement;
    746         attribute SVGGlyphRefElementConstructor SVGGlyphRefElement;
    747         attribute SVGHKernElementConstructor SVGHKernElement;
    748         attribute SVGMissingGlyphElementConstructor SVGMissingGlyphElement;
    749         attribute SVGVKernElementConstructor SVGVKernElement;
    750 #endif
    751 
    752 #if defined(ENABLE_SVG_FOREIGN_OBJECT) && ENABLE_SVG_FOREIGN_OBJECT
    753         attribute SVGForeignObjectElementConstructor SVGForeignObjectElement;
    754 #endif
    755 
    756 #if defined(ENABLE_FILTERS) && ENABLE_FILTERS
    757         attribute SVGComponentTransferFunctionElementConstructor SVGComponentTransferFunctionElement;
    758         attribute SVGFEBlendElementConstructor SVGFEBlendElement;
    759         attribute SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement;
    760         attribute SVGFEComponentTransferElementConstructor SVGFEComponentTransferElement;
    761         attribute SVGFECompositeElementConstructor SVGFECompositeElement;
    762         attribute SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixElement;
    763         attribute SVGFEDiffuseLightingElementConstructor SVGFEDiffuseLightingElement;
    764         attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement;
    765         attribute SVGFEDistantLightElementConstructor SVGFEDistantLightElement;
    766         attribute SVGFEDropShadowElementConstructor SVGFEDropShadowElement;
    767         attribute SVGFEFloodElementConstructor SVGFEFloodElement;
    768         attribute SVGFEFuncAElementConstructor SVGFEFuncAElement;
    769         attribute SVGFEFuncBElementConstructor SVGFEFuncBElement;
    770         attribute SVGFEFuncGElementConstructor SVGFEFuncGElement;
    771         attribute SVGFEFuncRElementConstructor SVGFEFuncRElement;
    772         attribute SVGFEGaussianBlurElementConstructor SVGFEGaussianBlurElement;
    773         attribute SVGFEImageElementConstructor SVGFEImageElement;
    774         attribute SVGFEMergeElementConstructor SVGFEMergeElement;
    775         attribute SVGFEMergeNodeElementConstructor SVGFEMergeNodeElement;
    776         attribute SVGFEMorphologyElementConstructor SVGFEMorphologyElement;
    777         attribute SVGFEOffsetElementConstructor SVGFEOffsetElement;
    778         attribute SVGFEPointLightElementConstructor SVGFEPointLightElement;
    779         attribute SVGFESpecularLightingElementConstructor SVGFESpecularLightingElement;
    780         attribute SVGFESpotLightElementConstructor SVGFESpotLightElement;
    781         attribute SVGFETileElementConstructor SVGFETileElement;
    782         attribute SVGFETurbulenceElementConstructor SVGFETurbulenceElement;
    783         attribute SVGFilterElementConstructor SVGFilterElement;
    784 #endif
    785 #endif
     603        attribute [Conditional=SVG] SVGAElementConstructor SVGAElement;
     604        attribute [Conditional=SVG] SVGAngleConstructor SVGAngle;
     605        attribute [Conditional=SVG] SVGAnimatedAngleConstructor SVGAnimatedAngle;
     606        attribute [Conditional=SVG] SVGAnimatedBooleanConstructor SVGAnimatedBoolean;
     607        attribute [Conditional=SVG] SVGAnimatedEnumerationConstructor SVGAnimatedEnumeration;
     608        attribute [Conditional=SVG] SVGAnimatedIntegerConstructor SVGAnimatedInteger;
     609        attribute [Conditional=SVG] SVGAnimatedLengthConstructor SVGAnimatedLength;
     610        attribute [Conditional=SVG] SVGAnimatedLengthListConstructor SVGAnimatedLengthList;
     611        attribute [Conditional=SVG] SVGAnimatedNumberConstructor SVGAnimatedNumber;
     612        attribute [Conditional=SVG] SVGAnimatedNumberListConstructor SVGAnimatedNumberList;
     613        attribute [Conditional=SVG] SVGAnimatedPreserveAspectRatioConstructor SVGAnimatedPreserveAspectRatio;
     614        attribute [Conditional=SVG] SVGAnimatedRectConstructor SVGAnimatedRect;
     615        attribute [Conditional=SVG] SVGAnimatedStringConstructor SVGAnimatedString;
     616        attribute [Conditional=SVG] SVGAnimatedTransformListConstructor SVGAnimatedTransformList;
     617        attribute [Conditional=SVG] SVGCircleElementConstructor SVGCircleElement;
     618        attribute [Conditional=SVG] SVGClipPathElementConstructor SVGClipPathElement;
     619        attribute [Conditional=SVG] SVGColorConstructor SVGColor;
     620        attribute [Conditional=SVG] SVGCursorElementConstructor SVGCursorElement;
     621//      attribute [Conditional=SVG] SVGCSSRuleConstructor SVGCSSRule;
     622        attribute [Conditional=SVG] SVGDefsElementConstructor SVGDefsElement;
     623        attribute [Conditional=SVG] SVGDescElementConstructor SVGDescElement;
     624        attribute [Conditional=SVG] SVGDocumentConstructor SVGDocument;
     625        attribute [Conditional=SVG] SVGElementConstructor SVGElement;
     626        attribute [Conditional=SVG] SVGElementInstanceConstructor SVGElementInstance;
     627        attribute [Conditional=SVG] SVGElementInstanceListConstructor SVGElementInstanceList;
     628        attribute [Conditional=SVG] SVGEllipseElementConstructor SVGEllipseElement;
     629        attribute [Conditional=SVG] SVGExceptionConstructor SVGException;
     630        attribute [Conditional=SVG] SVGGElementConstructor SVGGElement;
     631        attribute [Conditional=SVG] SVGGradientElementConstructor SVGGradientElement;
     632        attribute [Conditional=SVG] SVGImageElementConstructor SVGImageElement;
     633        attribute [Conditional=SVG] SVGLengthConstructor SVGLength;
     634        attribute [Conditional=SVG] SVGLengthListConstructor SVGLengthList;
     635        attribute [Conditional=SVG] SVGLinearGradientElementConstructor SVGLinearGradientElement;
     636        attribute [Conditional=SVG] SVGLineElementConstructor SVGLineElement;
     637        attribute [Conditional=SVG] SVGMarkerElementConstructor SVGMarkerElement;
     638        attribute [Conditional=SVG] SVGMaskElementConstructor SVGMaskElement;
     639        attribute [Conditional=SVG] SVGMatrixConstructor SVGMatrix;
     640        attribute [Conditional=SVG] SVGMetadataElementConstructor SVGMetadataElement;
     641        attribute [Conditional=SVG] SVGNumberConstructor SVGNumber;
     642        attribute [Conditional=SVG] SVGNumberListConstructor SVGNumberList;
     643        attribute [Conditional=SVG] SVGPaintConstructor SVGPaint;
     644        attribute [Conditional=SVG] SVGPathElementConstructor SVGPathElement;
     645        attribute [Conditional=SVG] SVGPathSegConstructor SVGPathSeg;
     646        attribute [Conditional=SVG] SVGPathSegArcAbsConstructor SVGPathSegArcAbs;
     647        attribute [Conditional=SVG] SVGPathSegArcRelConstructor SVGPathSegArcRel;
     648        attribute [Conditional=SVG] SVGPathSegClosePathConstructor SVGPathSegClosePath;
     649        attribute [Conditional=SVG] SVGPathSegCurvetoCubicAbsConstructor SVGPathSegCurvetoCubicAbs;
     650        attribute [Conditional=SVG] SVGPathSegCurvetoCubicRelConstructor SVGPathSegCurvetoCubicRel;
     651        attribute [Conditional=SVG] SVGPathSegCurvetoCubicSmoothAbsConstructor SVGPathSegCurvetoCubicSmoothAbs;
     652        attribute [Conditional=SVG] SVGPathSegCurvetoCubicSmoothRelConstructor SVGPathSegCurvetoCubicSmoothRel;
     653        attribute [Conditional=SVG] SVGPathSegCurvetoQuadraticAbsConstructor SVGPathSegCurvetoQuadraticAbs;
     654        attribute [Conditional=SVG] SVGPathSegCurvetoQuadraticRelConstructor SVGPathSegCurvetoQuadraticRel;
     655        attribute [Conditional=SVG] SVGPathSegCurvetoQuadraticSmoothAbsConstructor SVGPathSegCurvetoQuadraticSmoothAbs;
     656        attribute [Conditional=SVG] SVGPathSegCurvetoQuadraticSmoothRelConstructor SVGPathSegCurvetoQuadraticSmoothRel;
     657        attribute [Conditional=SVG] SVGPathSegLinetoAbsConstructor SVGPathSegLinetoAbs;
     658        attribute [Conditional=SVG] SVGPathSegLinetoHorizontalAbsConstructor SVGPathSegLinetoHorizontalAbs;
     659        attribute [Conditional=SVG] SVGPathSegLinetoHorizontalRelConstructor SVGPathSegLinetoHorizontalRel;
     660        attribute [Conditional=SVG] SVGPathSegLinetoRelConstructor SVGPathSegLinetoRel;
     661        attribute [Conditional=SVG] SVGPathSegLinetoVerticalAbsConstructor SVGPathSegLinetoVerticalAbs;
     662        attribute [Conditional=SVG] SVGPathSegLinetoVerticalRelConstructor SVGPathSegLinetoVerticalRel;
     663        attribute [Conditional=SVG] SVGPathSegListConstructor SVGPathSegList;
     664        attribute [Conditional=SVG] SVGPathSegMovetoAbsConstructor SVGPathSegMovetoAbs;
     665        attribute [Conditional=SVG] SVGPathSegMovetoRelConstructor SVGPathSegMovetoRel;
     666        attribute [Conditional=SVG] SVGPatternElementConstructor SVGPatternElement;
     667        attribute [Conditional=SVG] SVGPointConstructor SVGPoint;
     668        attribute [Conditional=SVG] SVGPointListConstructor SVGPointList;
     669        attribute [Conditional=SVG] SVGPolygonElementConstructor SVGPolygonElement;
     670        attribute [Conditional=SVG] SVGPolylineElementConstructor SVGPolylineElement;
     671        attribute [Conditional=SVG] SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio;
     672        attribute [Conditional=SVG] SVGRadialGradientElementConstructor SVGRadialGradientElement;
     673        attribute [Conditional=SVG] SVGRectConstructor SVGRect;
     674        attribute [Conditional=SVG] SVGRectElementConstructor SVGRectElement;
     675        attribute [Conditional=SVG] SVGRenderingIntentConstructor SVGRenderingIntent;
     676        attribute [Conditional=SVG] SVGScriptElementConstructor SVGScriptElement;
     677        attribute [Conditional=SVG] SVGStopElementConstructor SVGStopElement;
     678        attribute [Conditional=SVG] SVGStringListConstructor SVGStringList;
     679        attribute [Conditional=SVG] SVGStyleElementConstructor SVGStyleElement;
     680        attribute [Conditional=SVG] SVGSVGElementConstructor SVGSVGElement;
     681        attribute [Conditional=SVG] SVGSwitchElementConstructor SVGSwitchElement;
     682        attribute [Conditional=SVG] SVGSymbolElementConstructor SVGSymbolElement;
     683        attribute [Conditional=SVG] SVGTextContentElementConstructor SVGTextContentElement;
     684        attribute [Conditional=SVG] SVGTextElementConstructor SVGTextElement;
     685        attribute [Conditional=SVG] SVGTextPathElementConstructor SVGTextPathElement;
     686        attribute [Conditional=SVG] SVGTextPositioningElementConstructor SVGTextPositioningElement;
     687        attribute [Conditional=SVG] SVGTitleElementConstructor SVGTitleElement;
     688        attribute [Conditional=SVG] SVGTransformConstructor SVGTransform;
     689        attribute [Conditional=SVG] SVGTransformListConstructor SVGTransformList;
     690        attribute [Conditional=SVG] SVGTRefElementConstructor SVGTRefElement;
     691        attribute [Conditional=SVG] SVGTSpanElementConstructor SVGTSpanElement;
     692        attribute [Conditional=SVG] SVGUnitTypesConstructor SVGUnitTypes;
     693        attribute [Conditional=SVG] SVGUseElementConstructor SVGUseElement;
     694        attribute [Conditional=SVG] SVGViewElementConstructor SVGViewElement;
     695//      attribute [Conditional=SVG] SVGViewSpecConstructor SVGViewSpec;
     696        attribute [Conditional=SVG] SVGZoomEventConstructor SVGZoomEvent;
     697
     698        attribute [Conditional=SVG&SVG_ANIMATION] SVGAnimateColorElementConstructor SVGAnimateColorElement;
     699        attribute [Conditional=SVG&SVG_ANIMATION] SVGAnimateElementConstructor SVGAnimateElement;
     700        attribute [Conditional=SVG&SVG_ANIMATION] SVGAnimateMotionElementConstructor SVGAnimateMotionElement;
     701        attribute [Conditional=SVG&SVG_ANIMATION] SVGAnimateTransformElementConstructor SVGAnimateTransformElement;
     702        attribute [Conditional=SVG&SVG_ANIMATION] SVGMPathElementConstructor SVGMPathElement;
     703        attribute [Conditional=SVG&SVG_ANIMATION] SVGSetElementConstructor SVGSetElement;
     704
     705        attribute [Conditional=SVG&SVG_FONTS] SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
     706        attribute [Conditional=SVG&SVG_FONTS] SVGAltGlyphElementConstructor SVGAltGlyphElement;
     707        attribute [Conditional=SVG&SVG_FONTS] SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
     708//      attribute [Conditional=SVG&SVG_FONTS] SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement;
     709        attribute [Conditional=SVG&SVG_FONTS] SVGFontElementConstructor SVGFontElement;
     710        attribute [Conditional=SVG&SVG_FONTS] SVGFontFaceElementConstructor SVGFontFaceElement;
     711        attribute [Conditional=SVG&SVG_FONTS] SVGFontFaceFormatElementConstructor SVGFontFaceFormatElement;
     712        attribute [Conditional=SVG&SVG_FONTS] SVGFontFaceNameElementConstructor SVGFontFaceNameElement;
     713        attribute [Conditional=SVG&SVG_FONTS] SVGFontFaceSrcElementConstructor SVGFontFaceSrcElement;
     714        attribute [Conditional=SVG&SVG_FONTS] SVGFontFaceUriElementConstructor SVGFontFaceUriElement;
     715        attribute [Conditional=SVG&SVG_FONTS] SVGGlyphElementConstructor SVGGlyphElement;
     716        attribute [Conditional=SVG&SVG_FONTS] SVGGlyphRefElementConstructor SVGGlyphRefElement;
     717        attribute [Conditional=SVG&SVG_FONTS] SVGHKernElementConstructor SVGHKernElement;
     718        attribute [Conditional=SVG&SVG_FONTS] SVGMissingGlyphElementConstructor SVGMissingGlyphElement;
     719        attribute [Conditional=SVG&SVG_FONTS] SVGVKernElementConstructor SVGVKernElement;
     720
     721        attribute [Conditional=SVG&SVG_FOREIGN_OBJECT] SVGForeignObjectElementConstructor SVGForeignObjectElement;
     722
     723        attribute [Conditional=SVG&FILTERS] SVGComponentTransferFunctionElementConstructor SVGComponentTransferFunctionElement;
     724        attribute [Conditional=SVG&FILTERS] SVGFEBlendElementConstructor SVGFEBlendElement;
     725        attribute [Conditional=SVG&FILTERS] SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement;
     726        attribute [Conditional=SVG&FILTERS] SVGFEComponentTransferElementConstructor SVGFEComponentTransferElement;
     727        attribute [Conditional=SVG&FILTERS] SVGFECompositeElementConstructor SVGFECompositeElement;
     728        attribute [Conditional=SVG&FILTERS] SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixElement;
     729        attribute [Conditional=SVG&FILTERS] SVGFEDiffuseLightingElementConstructor SVGFEDiffuseLightingElement;
     730        attribute [Conditional=SVG&FILTERS] SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement;
     731        attribute [Conditional=SVG&FILTERS] SVGFEDistantLightElementConstructor SVGFEDistantLightElement;
     732        attribute [Conditional=SVG&FILTERS] SVGFEDropShadowElementConstructor SVGFEDropShadowElement;
     733        attribute [Conditional=SVG&FILTERS] SVGFEFloodElementConstructor SVGFEFloodElement;
     734        attribute [Conditional=SVG&FILTERS] SVGFEFuncAElementConstructor SVGFEFuncAElement;
     735        attribute [Conditional=SVG&FILTERS] SVGFEFuncBElementConstructor SVGFEFuncBElement;
     736        attribute [Conditional=SVG&FILTERS] SVGFEFuncGElementConstructor SVGFEFuncGElement;
     737        attribute [Conditional=SVG&FILTERS] SVGFEFuncRElementConstructor SVGFEFuncRElement;
     738        attribute [Conditional=SVG&FILTERS] SVGFEGaussianBlurElementConstructor SVGFEGaussianBlurElement;
     739        attribute [Conditional=SVG&FILTERS] SVGFEImageElementConstructor SVGFEImageElement;
     740        attribute [Conditional=SVG&FILTERS] SVGFEMergeElementConstructor SVGFEMergeElement;
     741        attribute [Conditional=SVG&FILTERS] SVGFEMergeNodeElementConstructor SVGFEMergeNodeElement;
     742        attribute [Conditional=SVG&FILTERS] SVGFEMorphologyElementConstructor SVGFEMorphologyElement;
     743        attribute [Conditional=SVG&FILTERS] SVGFEOffsetElementConstructor SVGFEOffsetElement;
     744        attribute [Conditional=SVG&FILTERS] SVGFEPointLightElementConstructor SVGFEPointLightElement;
     745        attribute [Conditional=SVG&FILTERS] SVGFESpecularLightingElementConstructor SVGFESpecularLightingElement;
     746        attribute [Conditional=SVG&FILTERS] SVGFESpotLightElementConstructor SVGFESpotLightElement;
     747        attribute [Conditional=SVG&FILTERS] SVGFETileElementConstructor SVGFETileElement;
     748        attribute [Conditional=SVG&FILTERS] SVGFETurbulenceElementConstructor SVGFETurbulenceElement;
     749        attribute [Conditional=SVG&FILTERS] SVGFilterElementConstructor SVGFilterElement;
    786750
    787751        attribute [Conditional=DATABASE] SQLExceptionConstructor SQLException;
     
    798762        readonly attribute [Conditional=BLOB] DOMURL webkitURL;
    799763
    800 #if defined(ENABLE_QUOTA) && ENABLE_QUOTA
    801         readonly attribute [EnabledAtRuntime=Quota] StorageInfo webkitStorageInfo;
    802 #endif
     764        readonly attribute [Conditional=QUOTA, EnabledAtRuntime=Quota] StorageInfo webkitStorageInfo;
    803765
    804766#endif // defined(LANGUAGE_JAVASCRIPT)
Note: See TracChangeset for help on using the changeset viewer.