Changeset 152120 in webkit
- Timestamp:
- Jun 27, 2013 12:36:25 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r152100 r152120 747 747 svg/SVGTRefElement.idl 748 748 svg/SVGTSpanElement.idl 749 svg/SVGTests.idl 749 750 svg/SVGTextContentElement.idl 750 751 svg/SVGTextElement.idl … … 754 755 svg/SVGTransform.idl 755 756 svg/SVGTransformList.idl 757 svg/SVGURIReference.idl 756 758 svg/SVGUnitTypes.idl 757 759 svg/SVGUseElement.idl -
trunk/Source/WebCore/ChangeLog
r152117 r152120 1 2013-06-27 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 3 Update SVG interfaces to stop inheriting from SVGURIReference and SVGTests 4 https://bugs.webkit.org/show_bug.cgi?id=118142 5 6 Reviewed by Ryosuke Niwa. 7 8 Stop inheriting from SVGURIReference and SVGTests and use IDL implements statements 9 instead. This is one step towards getting rid of multiple inheritance in SVG (which 10 is no longer supported by Web IDL) and matching the latest specification: 11 - https://svgwg.org/svg2-draft/types.html#BasicDOMInterfaces 12 13 No new tests, no behavior change. 14 15 * CMakeLists.txt: 16 * DerivedSources.pri: 17 * GNUmakefile.list.am: 18 * svg/SVGAElement.idl: 19 * svg/SVGAltGlyphElement.idl: 20 * svg/SVGAnimationElement.idl: 21 * svg/SVGCircleElement.idl: 22 * svg/SVGClipPathElement.idl: 23 * svg/SVGCursorElement.idl: 24 * svg/SVGDefsElement.idl: 25 * svg/SVGEllipseElement.idl: 26 * svg/SVGFEImageElement.idl: 27 * svg/SVGFilterElement.idl: 28 * svg/SVGForeignObjectElement.idl: 29 * svg/SVGGElement.idl: 30 * svg/SVGGlyphRefElement.idl: 31 * svg/SVGGradientElement.idl: 32 * svg/SVGImageElement.idl: 33 * svg/SVGLineElement.idl: 34 * svg/SVGMPathElement.idl: 35 * svg/SVGMaskElement.idl: 36 * svg/SVGPathElement.idl: 37 * svg/SVGPatternElement.idl: 38 * svg/SVGPolygonElement.idl: 39 * svg/SVGPolylineElement.idl: 40 * svg/SVGRectElement.idl: 41 * svg/SVGSVGElement.idl: 42 * svg/SVGScriptElement.idl: 43 * svg/SVGSwitchElement.idl: 44 * svg/SVGTRefElement.idl: 45 * svg/SVGTextContentElement.idl: 46 * svg/SVGTextPathElement.idl: 47 * svg/SVGUseElement.idl: 48 1 49 2013-06-27 Ruth Fong <ruth_fong@apple.com> 2 50 -
trunk/Source/WebCore/DerivedSources.pri
r152100 r152120 628 628 $$PWD/svg/SVGSwitchElement.idl \ 629 629 $$PWD/svg/SVGSymbolElement.idl \ 630 $$PWD/svg/SVGTests.idl \ 630 631 $$PWD/svg/SVGTextContentElement.idl \ 631 632 $$PWD/svg/SVGTextElement.idl \ … … 637 638 $$PWD/svg/SVGTRefElement.idl \ 638 639 $$PWD/svg/SVGTSpanElement.idl \ 640 $$PWD/svg/SVGURIReference.idl \ 639 641 $$PWD/svg/SVGUnitTypes.idl \ 640 642 $$PWD/svg/SVGUseElement.idl \ -
trunk/Source/WebCore/GNUmakefile.list.am
r152094 r152120 1776 1776 $(WebCore)/svg/SVGTRefElement.idl \ 1777 1777 $(WebCore)/svg/SVGTSpanElement.idl \ 1778 $(WebCore)/svg/SVGTests.idl \ 1778 1779 $(WebCore)/svg/SVGTextContentElement.idl \ 1779 1780 $(WebCore)/svg/SVGTextElement.idl \ … … 1783 1784 $(WebCore)/svg/SVGTransform.idl \ 1784 1785 $(WebCore)/svg/SVGTransformList.idl \ 1786 $(WebCore)/svg/SVGURIReference.idl \ 1785 1787 $(WebCore)/svg/SVGUnitTypes.idl \ 1786 1788 $(WebCore)/svg/SVGUseElement.idl \ -
trunk/Source/WebCore/svg/SVGAElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGAElement : SVGStyledElement, 29 SVGURIReference, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 33 31 readonly attribute SVGAnimatedString target; 34 32 }; 35 33 36 34 SVGAElement implements SVGExternalResourcesRequired; 35 SVGAElement implements SVGTests; 36 SVGAElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGAltGlyphElement.idl
r151321 r152120 26 26 [ 27 27 Conditional=SVG&SVG_FONTS, 28 ] interface SVGAltGlyphElement : SVGTextPositioningElement , SVGURIReference{28 ] interface SVGAltGlyphElement : SVGTextPositioningElement { 29 29 [SetterRaisesException] attribute DOMString glyphRef; 30 30 [SetterRaisesException] attribute DOMString format; 31 31 }; 32 33 SVGAltGlyphElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGAnimationElement.idl
r151988 r152120 28 28 Conditional=SVG, 29 29 ] interface SVGAnimationElement : SVGElement, 30 SVGTests, 31 ElementTimeControl { 30 ElementTimeControl { 32 31 readonly attribute SVGElement targetElement; 33 32 … … 38 37 39 38 SVGAnimationElement implements SVGExternalResourcesRequired; 39 SVGAnimationElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGCircleElement.idl
r151988 r152120 28 28 Conditional=SVG 29 29 ] interface SVGCircleElement : SVGStyledElement, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 30 SVGLangSpace, 31 SVGTransformable { 33 32 readonly attribute SVGAnimatedLength cx; 34 33 readonly attribute SVGAnimatedLength cy; … … 37 36 38 37 SVGCircleElement implements SVGExternalResourcesRequired; 38 SVGCircleElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGClipPathElement.idl
r151988 r152120 28 28 Conditional=SVG 29 29 ] interface SVGClipPathElement : SVGStyledElement, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable 33 /* SVGUnitTypes */ { 30 SVGLangSpace, 31 SVGTransformable { 34 32 readonly attribute SVGAnimatedEnumeration clipPathUnits; 35 33 }; 36 34 37 35 SVGClipPathElement implements SVGExternalResourcesRequired; 36 SVGClipPathElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGCursorElement.idl
r151988 r152120 26 26 [ 27 27 Conditional=SVG 28 ] interface SVGCursorElement : SVGElement, 29 SVGURIReference, 30 SVGTests { 28 ] interface SVGCursorElement : SVGElement { 31 29 readonly attribute SVGAnimatedLength x; 32 30 readonly attribute SVGAnimatedLength y; … … 34 32 35 33 SVGCursorElement implements SVGExternalResourcesRequired; 34 SVGCursorElement implements SVGTests; 35 SVGCursorElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGDefsElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGDefsElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 }; 33 32 34 33 SVGDefsElement implements SVGExternalResourcesRequired; 34 SVGDefsElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGEllipseElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGEllipseElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGAnimatedLength cx; 33 32 readonly attribute SVGAnimatedLength cy; … … 37 36 38 37 SVGEllipseElement implements SVGExternalResourcesRequired; 38 SVGEllipseElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGFEImageElement.idl
r151988 r152120 27 27 Conditional=SVG&FILTERS 28 28 ] interface SVGFEImageElement : SVGStyledElement, 29 SVGURIReference, 30 SVGLangSpace, 31 SVGFilterPrimitiveStandardAttributes { 29 SVGLangSpace, 30 SVGFilterPrimitiveStandardAttributes { 32 31 readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; 33 32 }; 34 33 35 34 SVGFEImageElement implements SVGExternalResourcesRequired; 35 SVGFEImageElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGFilterElement.idl
r151988 r152120 28 28 Conditional=SVG&FILTERS 29 29 ] interface SVGFilterElement : SVGStyledElement, 30 SVGURIReference, 31 SVGLangSpace { 30 SVGLangSpace { 32 31 readonly attribute SVGAnimatedEnumeration filterUnits; 33 32 readonly attribute SVGAnimatedEnumeration primitiveUnits; … … 44 43 45 44 SVGFilterElement implements SVGExternalResourcesRequired; 45 SVGFilterElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGForeignObjectElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGForeignObjectElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGAnimatedLength x; 33 32 readonly attribute SVGAnimatedLength y; … … 37 36 38 37 SVGForeignObjectElement implements SVGExternalResourcesRequired; 38 SVGForeignObjectElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGGElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGGElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 }; 33 32 34 33 SVGGElement implements SVGExternalResourcesRequired; 34 SVGGElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGGlyphRefElement.idl
r151321 r152120 18 18 */ 19 19 20 [Conditional=SVG&SVG_FONTS] interface SVGGlyphRefElement : SVGStyledElement, 21 SVGURIReference { 20 [ 21 Conditional=SVG&SVG_FONTS 22 ] interface SVGGlyphRefElement : SVGStyledElement { 22 23 // FIXME: Use [Reflect] after https://bugs.webkit.org/show_bug.cgi?id=64843 is fixed. 23 24 [SetterRaisesException] attribute DOMString glyphRef; … … 29 30 }; 30 31 32 SVGGlyphRefElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGGradientElement.idl
r151988 r152120 27 27 Conditional=SVG, 28 28 DoNotCheckConstants 29 ] interface SVGGradientElement : SVGStyledElement , SVGURIReference{29 ] interface SVGGradientElement : SVGStyledElement { 30 30 // Spread Method Types 31 31 const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0; … … 40 40 41 41 SVGGradientElement implements SVGExternalResourcesRequired; 42 SVGGradientElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGImageElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGImageElement : SVGStyledElement, 29 SVGURIReference, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 33 31 readonly attribute SVGAnimatedLength x; 34 32 readonly attribute SVGAnimatedLength y; … … 39 37 40 38 SVGImageElement implements SVGExternalResourcesRequired; 39 SVGImageElement implements SVGTests; 40 SVGImageElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGLineElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGLineElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGAnimatedLength x1; 33 32 readonly attribute SVGAnimatedLength y1; … … 37 36 38 37 SVGLineElement implements SVGExternalResourcesRequired; 38 SVGLineElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGMPathElement.idl
r151988 r152120 26 26 [ 27 27 Conditional=SVG 28 ] interface SVGMPathElement : SVGElement , SVGURIReference{28 ] interface SVGMPathElement : SVGElement { 29 29 }; 30 30 31 31 SVGMPathElement implements SVGExternalResourcesRequired; 32 SVGMPathElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGMaskElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGMaskElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace { 29 SVGLangSpace { 31 30 readonly attribute SVGAnimatedEnumeration maskUnits; 32 31 readonly attribute SVGAnimatedEnumeration maskContentUnits; … … 39 38 40 39 SVGMaskElement implements SVGExternalResourcesRequired; 40 SVGMaskElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGPathElement.idl
r151988 r152120 28 28 Conditional=SVG 29 29 ] interface SVGPathElement : SVGStyledElement, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 30 SVGLangSpace, 31 SVGTransformable { 33 32 readonly attribute SVGAnimatedNumber pathLength; 34 33 … … 113 112 114 113 SVGPathElement implements SVGExternalResourcesRequired; 114 SVGPathElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGPatternElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGPatternElement : SVGStyledElement, 29 SVGURIReference, 30 SVGTests, 31 SVGLangSpace { 29 SVGLangSpace { 32 30 readonly attribute SVGAnimatedEnumeration patternUnits; 33 31 readonly attribute SVGAnimatedEnumeration patternContentUnits; … … 41 39 SVGPatternElement implements SVGExternalResourcesRequired; 42 40 SVGPatternElement implements SVGFitToViewBox; 41 SVGPatternElement implements SVGTests; 42 SVGPatternElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGPolygonElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGPolygonElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGPointList points; 33 32 readonly attribute SVGPointList animatedPoints; … … 35 34 36 35 SVGPolygonElement implements SVGExternalResourcesRequired; 36 SVGPolygonElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGPolylineElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGPolylineElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGPointList points; 33 32 readonly attribute SVGPointList animatedPoints; … … 35 34 36 35 SVGPolylineElement implements SVGExternalResourcesRequired; 36 SVGPolylineElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGRectElement.idl
r151988 r152120 28 28 Conditional=SVG 29 29 ] interface SVGRectElement : SVGStyledElement, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 30 SVGLangSpace, 31 SVGTransformable { 33 32 readonly attribute SVGAnimatedLength x; 34 33 readonly attribute SVGAnimatedLength y; … … 40 39 41 40 SVGRectElement implements SVGExternalResourcesRequired; 41 SVGRectElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGSVGElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGSVGElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 readonly attribute SVGAnimatedLength x; 33 32 readonly attribute SVGAnimatedLength y; … … 78 77 SVGSVGElement implements SVGExternalResourcesRequired; 79 78 SVGSVGElement implements SVGFitToViewBox; 79 SVGSVGElement implements SVGTests; 80 80 SVGSVGElement implements SVGZoomAndPan; -
trunk/Source/WebCore/svg/SVGScriptElement.idl
r151988 r152120 26 26 [ 27 27 Conditional=SVG 28 ] interface SVGScriptElement : SVGElement , SVGURIReference{28 ] interface SVGScriptElement : SVGElement { 29 29 [TreatNullAs=NullString] attribute DOMString type; 30 30 }; 31 31 32 32 SVGScriptElement implements SVGExternalResourcesRequired; 33 SVGScriptElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGSwitchElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGSwitchElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace, 31 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 32 31 }; 33 32 34 33 SVGSwitchElement implements SVGExternalResourcesRequired; 34 SVGSwitchElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGTRefElement.idl
r131172 r152120 26 26 [ 27 27 Conditional=SVG 28 ] interface SVGTRefElement : SVGTextPositioningElement, 29 SVGURIReference { 28 ] interface SVGTRefElement : SVGTextPositioningElement { 30 29 }; 31 30 31 SVGTRefElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGTextContentElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGTextContentElement : SVGStyledElement, 29 SVGTests, 30 SVGLangSpace { 29 SVGLangSpace { 31 30 // lengthAdjust Types 32 31 const unsigned short LENGTHADJUST_UNKNOWN = 0; … … 51 50 52 51 SVGTextContentElement implements SVGExternalResourcesRequired; 52 SVGTextContentElement implements SVGTests; -
trunk/Source/WebCore/svg/SVGTextPathElement.idl
r131172 r152120 26 26 [ 27 27 Conditional=SVG 28 ] interface SVGTextPathElement : SVGTextContentElement, 29 SVGURIReference { 28 ] interface SVGTextPathElement : SVGTextContentElement { 30 29 // textPath Method Types 31 30 const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0; … … 43 42 }; 44 43 44 SVGTextPathElement implements SVGURIReference; -
trunk/Source/WebCore/svg/SVGUseElement.idl
r151988 r152120 27 27 Conditional=SVG 28 28 ] interface SVGUseElement : SVGStyledElement, 29 SVGURIReference, 30 SVGTests, 31 SVGLangSpace, 32 SVGTransformable { 29 SVGLangSpace, 30 SVGTransformable { 33 31 readonly attribute SVGAnimatedLength x; 34 32 readonly attribute SVGAnimatedLength y; … … 41 39 42 40 SVGUseElement implements SVGExternalResourcesRequired; 41 SVGUseElement implements SVGTests; 42 SVGUseElement implements SVGURIReference;
Note: See TracChangeset
for help on using the changeset viewer.