Skip to content

Commit 67a0098

Browse files
committed
[SVG2] Merge SVGStyledElement and SVGElement
https://bugs.webkit.org/show_bug.cgi?id=107386 Reviewed by Andreas Kling. Source/WebCore: Merge SVGStyledElement into SVGElement to simplify the SVG inheritance model and match the SVG2 specification: https://svgwg.org/svg2-draft/single-page.html#types-InterfaceSVGElement Test: svg/dom/svg2-inheritance.html * CMakeLists.txt: * DerivedSources.cpp: * DerivedSources.make: * DerivedSources.pri: * GNUmakefile.list.am: * Target.pri: * WebCore.order: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * accessibility/AccessibilityNodeObject.cpp: (WebCore::AccessibilityNodeObject::alternativeText): (WebCore::AccessibilityNodeObject::accessibilityDescription): * css/SVGCSSStyleSelector.cpp: * rendering/style/SVGRenderStyle.cpp: * rendering/svg/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::RenderSVGContainer): * rendering/svg/RenderSVGContainer.h: * rendering/svg/RenderSVGHiddenContainer.cpp: (WebCore::RenderSVGHiddenContainer::RenderSVGHiddenContainer): * rendering/svg/RenderSVGHiddenContainer.h: * rendering/svg/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::RenderSVGModelObject): (WebCore::getElementCTM): * rendering/svg/RenderSVGModelObject.h: * rendering/svg/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage): (WebCore::RenderSVGResourceClipper::calculateClipContentRepaintRect): (WebCore::RenderSVGResourceClipper::hitTestClipContent): * rendering/svg/RenderSVGResourceContainer.cpp: (WebCore::RenderSVGResourceContainer::RenderSVGResourceContainer): * rendering/svg/RenderSVGResourceContainer.h: * rendering/svg/RenderSVGResourceFilter.cpp: * rendering/svg/RenderSVGResourceFilterPrimitive.h: * rendering/svg/RenderSVGResourceMarker.cpp: * rendering/svg/RenderSVGResourceMarker.h: * rendering/svg/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): (WebCore::RenderSVGResourceMasker::calculateMaskContentRepaintRect): * rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::createTileImage): * rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): * rendering/svg/RenderSVGRoot.h: * rendering/svg/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::RenderSVGViewportContainer): * rendering/svg/RenderSVGViewportContainer.h: * rendering/svg/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::layoutChildren): * rendering/svg/SVGRenderTreeAsText.cpp: * rendering/svg/SVGResources.cpp: (WebCore::registerPendingResource): * rendering/svg/SVGResourcesCache.cpp: * svg/SVGAElement.cpp: (WebCore::SVGAElement::title): * svg/SVGAllInOne.cpp: * svg/SVGAltGlyphDefElement.h: * svg/SVGAltGlyphItemElement.h: * svg/SVGAnimateElement.cpp: * svg/SVGAnimatedType.cpp: (WebCore::SVGAnimatedType::valueAsString): (WebCore::SVGAnimatedType::setValueAsString): * svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::isTargetAttributeCSSProperty): (WebCore::SVGAnimationElement::computeCSSPropertyValue): (WebCore::SVGAnimationElement::adjustForInheritance): (WebCore::inheritsFromProperty): * svg/SVGComponentTransferFunctionElement.h: * svg/SVGCursorElement.h: * svg/SVGDescElement.cpp: (WebCore::SVGDescElement::SVGDescElement): * svg/SVGDescElement.h: * svg/SVGDescElement.idl: * svg/SVGElement.cpp: (WebCore::mapAttributeToCSSProperty): (WebCore::cssPropertyToTypeMap): (WebCore::SVGElement::SVGElement): (WebCore::SVGElement::~SVGElement): (WebCore::SVGElement::removedFrom): (WebCore::SVGElement::parseAttribute): (WebCore::SVGElement::animatedPropertyTypeForAttribute): (WebCore::collectInstancesForSVGElement): (WebCore::SVGElement::isAnimatableAttribute): (WebCore::SVGElement::title): (WebCore::SVGElement::rendererIsNeeded): (WebCore::SVGElement::cssPropertyIdForSVGAttributeName): (WebCore::SVGElement::isAnimatableCSSProperty): (WebCore::SVGElement::isPresentationAttribute): (WebCore::SVGElement::collectStyleForPresentationAttribute): (WebCore::SVGElement::isKnownAttribute): (WebCore::SVGElement::svgAttributeChanged): (WebCore::SVGElement::insertedInto): (WebCore::SVGElement::buildPendingResourcesIfNeeded): (WebCore::SVGElement::childrenChanged): (WebCore::SVGElement::getPresentationAttribute): (WebCore::SVGElement::instanceUpdatesBlocked): (WebCore::SVGElement::setInstanceUpdatesBlocked): (WebCore::SVGElement::localCoordinateSpaceTransform): (WebCore::SVGElement::updateRelativeLengthsInformation): (WebCore::SVGElement::isMouseFocusable): (WebCore::SVGElement::isKeyboardFocusable): * svg/SVGElement.h: (WebCore::SVGElement::supportsMarkers): (WebCore::SVGElement::hasRelativeLengths): (WebCore::SVGElement::needsPendingResourceHandling): (WebCore::SVGElement::selfHasRelativeLengths): (WebCore::SVGElement::updateRelativeLengthsInformation): * svg/SVGElement.idl: * svg/SVGElementInstance.cpp: (WebCore::SVGElementInstance::invalidateAllInstancesOfElement): (WebCore::SVGElementInstance::InstanceUpdateBlocker::InstanceUpdateBlocker): * svg/SVGElementInstance.h: * svg/SVGFEBlendElement.idl: * svg/SVGFEColorMatrixElement.idl: * svg/SVGFEComponentTransferElement.idl: * svg/SVGFECompositeElement.idl: * svg/SVGFEConvolveMatrixElement.idl: * svg/SVGFEDiffuseLightingElement.idl: * svg/SVGFEDisplacementMapElement.idl: * svg/SVGFEDropShadowElement.idl: * svg/SVGFEFloodElement.idl: * svg/SVGFEGaussianBlurElement.idl: * svg/SVGFEImageElement.idl: * svg/SVGFELightElement.h: * svg/SVGFEMergeElement.idl: * svg/SVGFEMergeNodeElement.h: * svg/SVGFEMorphologyElement.idl: * svg/SVGFEOffsetElement.idl: * svg/SVGFESpecularLightingElement.idl: * svg/SVGFETileElement.idl: * svg/SVGFETurbulenceElement.idl: * svg/SVGFilterElement.cpp: (WebCore::SVGFilterElement::SVGFilterElement): (WebCore::SVGFilterElement::parseAttribute): (WebCore::SVGFilterElement::svgAttributeChanged): (WebCore::SVGFilterElement::childrenChanged): * svg/SVGFilterElement.h: * svg/SVGFilterElement.idl: * svg/SVGFilterPrimitiveStandardAttributes.cpp: (WebCore::SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes): (WebCore::SVGFilterPrimitiveStandardAttributes::parseAttribute): (WebCore::SVGFilterPrimitiveStandardAttributes::svgAttributeChanged): (WebCore::SVGFilterPrimitiveStandardAttributes::childrenChanged): (WebCore::SVGFilterPrimitiveStandardAttributes::rendererIsNeeded): * svg/SVGFilterPrimitiveStandardAttributes.h: * svg/SVGFontElement.cpp: (WebCore::SVGFontElement::SVGFontElement): * svg/SVGFontElement.h: * svg/SVGFontFaceElement.cpp: * svg/SVGFontFaceElement.h: * svg/SVGFontFaceFormatElement.h: * svg/SVGFontFaceNameElement.h: * svg/SVGFontFaceSrcElement.h: * svg/SVGFontFaceUriElement.h: * svg/SVGGElement.cpp: (WebCore::SVGGElement::rendererIsNeeded): * svg/SVGGlyphElement.cpp: (WebCore::SVGGlyphElement::SVGGlyphElement): (WebCore::SVGGlyphElement::parseAttribute): (WebCore::SVGGlyphElement::insertedInto): (WebCore::SVGGlyphElement::removedFrom): * svg/SVGGlyphElement.h: * svg/SVGGlyphRefElement.cpp: (WebCore::SVGGlyphRefElement::SVGGlyphRefElement): (WebCore::SVGGlyphRefElement::parseAttribute): * svg/SVGGlyphRefElement.h: * svg/SVGGlyphRefElement.idl: * svg/SVGGradientElement.cpp: (WebCore::SVGGradientElement::SVGGradientElement): (WebCore::SVGGradientElement::parseAttribute): (WebCore::SVGGradientElement::svgAttributeChanged): (WebCore::SVGGradientElement::childrenChanged): * svg/SVGGradientElement.h: * svg/SVGGradientElement.idl: * svg/SVGGraphicsElement.cpp: (WebCore::SVGGraphicsElement::SVGGraphicsElement): (WebCore::SVGGraphicsElement::parseAttribute): (WebCore::SVGGraphicsElement::svgAttributeChanged): * svg/SVGGraphicsElement.h: * svg/SVGGraphicsElement.idl: * svg/SVGLocatable.cpp: (WebCore::SVGLocatable::computeCTM): * svg/SVGMPathElement.h: * svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::SVGMarkerElement): (WebCore::SVGMarkerElement::parseAttribute): (WebCore::SVGMarkerElement::svgAttributeChanged): (WebCore::SVGMarkerElement::childrenChanged): * svg/SVGMarkerElement.h: * svg/SVGMarkerElement.idl: * svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::SVGMaskElement): (WebCore::SVGMaskElement::parseAttribute): (WebCore::SVGMaskElement::svgAttributeChanged): (WebCore::SVGMaskElement::childrenChanged): * svg/SVGMaskElement.h: * svg/SVGMaskElement.idl: * svg/SVGMetadataElement.h: * svg/SVGMissingGlyphElement.cpp: (WebCore::SVGMissingGlyphElement::SVGMissingGlyphElement): * svg/SVGMissingGlyphElement.h: * svg/SVGMissingGlyphElement.idl: * svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::SVGPatternElement): (WebCore::SVGPatternElement::parseAttribute): (WebCore::SVGPatternElement::svgAttributeChanged): (WebCore::SVGPatternElement::childrenChanged): * svg/SVGPatternElement.h: * svg/SVGPatternElement.idl: * svg/SVGScriptElement.h: * svg/SVGStopElement.cpp: (WebCore::SVGStopElement::SVGStopElement): (WebCore::SVGStopElement::parseAttribute): (WebCore::SVGStopElement::svgAttributeChanged): * svg/SVGStopElement.h: * svg/SVGStopElement.idl: * svg/SVGStyleElement.h: * svg/SVGStyledElement.cpp: Removed. * svg/SVGStyledElement.h: Removed. * svg/SVGStyledElement.idl: Removed. * svg/SVGSymbolElement.cpp: (WebCore::SVGSymbolElement::SVGSymbolElement): (WebCore::SVGSymbolElement::parseAttribute): (WebCore::SVGSymbolElement::svgAttributeChanged): * svg/SVGSymbolElement.h: * svg/SVGSymbolElement.idl: * svg/SVGTRefElement.cpp: (WebCore::SVGTRefElement::insertedInto): (WebCore::SVGTRefElement::removedFrom): * svg/SVGTitleElement.cpp: (WebCore::SVGTitleElement::SVGTitleElement): (WebCore::SVGTitleElement::insertedInto): * svg/SVGTitleElement.h: * svg/SVGTitleElement.idl: * svg/SVGTransformable.cpp: * svg/SVGUseElement.cpp: (WebCore::SVGUseElement::selfHasRelativeLengths): * svg/SVGViewElement.cpp: (WebCore::SVGViewElement::SVGViewElement): (WebCore::SVGViewElement::parseAttribute): * svg/SVGViewElement.h: * svg/animation/SVGSMILElement.h: * svg/graphics/filters/SVGFEImage.cpp: (WebCore::FEImage::platformApplySoftware): LayoutTests: Add layout test to validate the SVG2 inheritance model. * svg/dom/svg2-inheritance-expected.txt: Added. * svg/dom/svg2-inheritance.html: Added. Canonical link: https://commits.webkit.org/138123@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 11ba9b9 commit 67a0098

137 files changed

Lines changed: 1280 additions & 991 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LayoutTests/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2013-08-22 Christophe Dumez <[email protected]>
2+
3+
[SVG2] Merge SVGStyledElement and SVGElement
4+
https://bugs.webkit.org/show_bug.cgi?id=107386
5+
6+
Reviewed by Andreas Kling.
7+
8+
Add layout test to validate the SVG2 inheritance model.
9+
10+
* svg/dom/svg2-inheritance-expected.txt: Added.
11+
* svg/dom/svg2-inheritance.html: Added.
12+
113
2013-08-22 Gavin Barraclough <[email protected]>
214

315
Error.stack should not be enumerable
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
Validates the SVG2 inheritance model.
2+
3+
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4+
5+
6+
PASS SVGAElement inherits SVGGraphicsElement
7+
PASS SVGAltGlyphDefElement inherits SVGElement
8+
PASS SVGAltGlyphElement inherits SVGTextPositioningElement
9+
PASS SVGAltGlyphItemElement inherits SVGElement
10+
PASS SVGAngle inherits Object
11+
PASS SVGAnimateColorElement inherits SVGAnimationElement
12+
PASS SVGAnimateElement inherits SVGAnimationElement
13+
PASS SVGAnimateMotionElement inherits SVGAnimationElement
14+
PASS SVGAnimateTransformElement inherits SVGAnimationElement
15+
PASS SVGAnimatedAngle inherits Object
16+
PASS SVGAnimatedBoolean inherits Object
17+
PASS SVGAnimatedEnumeration inherits Object
18+
PASS SVGAnimatedInteger inherits Object
19+
PASS SVGAnimatedLength inherits Object
20+
PASS SVGAnimatedLengthList inherits Object
21+
PASS SVGAnimatedNumber inherits Object
22+
PASS SVGAnimatedNumberList inherits Object
23+
FAIL SVGAnimatedPathData is not defined
24+
PASS SVGAnimatedPreserveAspectRatio inherits Object
25+
PASS SVGAnimatedRect inherits Object
26+
PASS SVGAnimatedString inherits Object
27+
PASS SVGAnimatedTransformList inherits Object
28+
PASS SVGAnimationElement inherits SVGElement
29+
FAIL SVGCSSRule is not defined
30+
FAIL SVGCircleElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
31+
FAIL SVGClipPathElement should inherit SVGDefinitionElement but got SVGGraphicsElement instead
32+
FAIL SVGColorProfileElement is not defined
33+
FAIL SVGColorProfileRule is not defined
34+
PASS SVGCursorElement inherits SVGElement
35+
PASS SVGDefsElement inherits SVGGraphicsElement
36+
PASS SVGDescElement inherits SVGElement
37+
PASS SVGElement inherits Element
38+
FAIL SVGElementInstance should inherit EventTarget but got EventTarget instead
39+
PASS SVGElementInstanceList inherits Object
40+
FAIL SVGEllipseElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
41+
PASS SVGFontElement inherits SVGElement
42+
PASS SVGFontFaceElement inherits SVGElement
43+
PASS SVGFontFaceFormatElement inherits SVGElement
44+
PASS SVGFontFaceNameElement inherits SVGElement
45+
PASS SVGFontFaceSrcElement inherits SVGElement
46+
PASS SVGFontFaceUriElement inherits SVGElement
47+
PASS SVGForeignObjectElement inherits SVGGraphicsElement
48+
PASS SVGGElement inherits SVGGraphicsElement
49+
FAIL SVGGeometryElement is not defined
50+
PASS SVGGlyphElement inherits SVGElement
51+
PASS SVGGlyphRefElement inherits SVGElement
52+
PASS SVGGradientElement inherits SVGElement
53+
PASS SVGGraphicsElement inherits SVGElement
54+
PASS SVGHKernElement inherits SVGElement
55+
PASS SVGImageElement inherits SVGGraphicsElement
56+
PASS SVGLength inherits Object
57+
PASS SVGLengthList inherits Object
58+
FAIL SVGLineElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
59+
PASS SVGLinearGradientElement inherits SVGGradientElement
60+
PASS SVGMPathElement inherits SVGElement
61+
PASS SVGMarkerElement inherits SVGElement
62+
FAIL SVGMarkerInstance is not defined
63+
FAIL SVGMarkerList is not defined
64+
FAIL SVGMaskElement should inherit SVGDefinitionElement but got SVGElement instead
65+
PASS SVGMatrix inherits Object
66+
FAIL SVGMeshGradientElement is not defined
67+
FAIL SVGMeshPatchElement is not defined
68+
FAIL SVGMeshRowElement is not defined
69+
PASS SVGMetadataElement inherits SVGElement
70+
PASS SVGMissingGlyphElement inherits SVGElement
71+
PASS SVGNumber inherits Object
72+
PASS SVGNumberList inherits Object
73+
FAIL SVGPathElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
74+
PASS SVGPathSeg inherits Object
75+
PASS SVGPathSegArcAbs inherits SVGPathSeg
76+
PASS SVGPathSegArcRel inherits SVGPathSeg
77+
PASS SVGPathSegClosePath inherits SVGPathSeg
78+
PASS SVGPathSegCurvetoCubicAbs inherits SVGPathSeg
79+
PASS SVGPathSegCurvetoCubicRel inherits SVGPathSeg
80+
PASS SVGPathSegCurvetoCubicSmoothAbs inherits SVGPathSeg
81+
PASS SVGPathSegCurvetoCubicSmoothRel inherits SVGPathSeg
82+
PASS SVGPathSegCurvetoQuadraticAbs inherits SVGPathSeg
83+
PASS SVGPathSegCurvetoQuadraticRel inherits SVGPathSeg
84+
PASS SVGPathSegCurvetoQuadraticSmoothAbs inherits SVGPathSeg
85+
PASS SVGPathSegCurvetoQuadraticSmoothRel inherits SVGPathSeg
86+
PASS SVGPathSegLinetoAbs inherits SVGPathSeg
87+
PASS SVGPathSegLinetoHorizontalAbs inherits SVGPathSeg
88+
PASS SVGPathSegLinetoHorizontalRel inherits SVGPathSeg
89+
PASS SVGPathSegLinetoRel inherits SVGPathSeg
90+
PASS SVGPathSegLinetoVerticalAbs inherits SVGPathSeg
91+
PASS SVGPathSegLinetoVerticalRel inherits SVGPathSeg
92+
PASS SVGPathSegList inherits Object
93+
PASS SVGPathSegMovetoAbs inherits SVGPathSeg
94+
PASS SVGPathSegMovetoRel inherits SVGPathSeg
95+
PASS SVGPatternElement inherits SVGElement
96+
PASS SVGPoint inherits Object
97+
PASS SVGPointList inherits Object
98+
FAIL SVGPolygonElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
99+
FAIL SVGPolylineElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
100+
PASS SVGPreserveAspectRatio inherits Object
101+
PASS SVGRadialGradientElement inherits SVGGradientElement
102+
PASS SVGRect inherits Object
103+
FAIL SVGRectElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
104+
PASS SVGSVGElement inherits SVGGraphicsElement
105+
PASS SVGScriptElement inherits SVGElement
106+
PASS SVGSetElement inherits SVGAnimationElement
107+
PASS SVGStopElement inherits SVGElement
108+
PASS SVGStringList inherits Object
109+
PASS SVGStyleElement inherits SVGElement
110+
PASS SVGSwitchElement inherits SVGGraphicsElement
111+
PASS SVGSymbolElement inherits SVGElement
112+
PASS SVGTRefElement inherits SVGTextPositioningElement
113+
PASS SVGTSpanElement inherits SVGTextPositioningElement
114+
PASS SVGTextContentElement inherits SVGGraphicsElement
115+
PASS SVGTextElement inherits SVGTextPositioningElement
116+
PASS SVGTextPathElement inherits SVGTextContentElement
117+
PASS SVGTextPositioningElement inherits SVGTextContentElement
118+
PASS SVGTitleElement inherits SVGElement
119+
PASS SVGTransform inherits Object
120+
PASS SVGTransformList inherits Object
121+
PASS SVGUseElement inherits SVGGraphicsElement
122+
PASS SVGVKernElement inherits SVGElement
123+
PASS SVGViewElement inherits SVGElement
124+
PASS SVGViewSpec inherits Object
125+
PASS SVGZoomEvent inherits UIEvent
126+
FAIL TimeEvent is not defined
127+
PASS successfullyParsed is true
128+
129+
TEST COMPLETE
130+
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link rel="help" href="http://www.w3.org/TR/2013/WD-SVG2-20130618/" />
5+
<script src="../../fast/js/resources/js-test-pre.js"></script>
6+
</head>
7+
<body>
8+
<script>
9+
description("Validates the SVG2 inheritance model.");
10+
11+
function interfaceName(prototype)
12+
{
13+
var parts = prototype.toString().split(" ");
14+
var lastPart = parts[parts.length - 1];
15+
return lastPart.substring(0, lastPart.length - 10);
16+
}
17+
18+
function checkParent(type, expectedParent)
19+
{
20+
// Using shouldBe() would lead to not very readable output here.
21+
if (!window[type]) {
22+
testFailed(type + " is not defined");
23+
return;
24+
}
25+
var parentPrototype = window[type].prototype.__proto__;
26+
var expectedPrototype = window[expectedParent] ? window[expectedParent].prototype : null;
27+
28+
if (expectedPrototype && parentPrototype === expectedPrototype)
29+
testPassed(type + " inherits " + expectedParent);
30+
else
31+
testFailed(type + " should inherit " + expectedParent + " but got " + interfaceName(parentPrototype) + " instead");
32+
}
33+
34+
checkParent("SVGAElement", "SVGGraphicsElement");
35+
checkParent("SVGAltGlyphDefElement", "SVGElement");
36+
checkParent("SVGAltGlyphElement", "SVGTextPositioningElement");
37+
checkParent("SVGAltGlyphItemElement", "SVGElement");
38+
checkParent("SVGAngle", "Object");
39+
checkParent("SVGAnimateColorElement", "SVGAnimationElement");
40+
checkParent("SVGAnimateElement", "SVGAnimationElement");
41+
checkParent("SVGAnimateMotionElement", "SVGAnimationElement");
42+
checkParent("SVGAnimateTransformElement", "SVGAnimationElement");
43+
checkParent("SVGAnimatedAngle", "Object");
44+
checkParent("SVGAnimatedBoolean", "Object");
45+
checkParent("SVGAnimatedEnumeration", "Object");
46+
checkParent("SVGAnimatedInteger", "Object");
47+
checkParent("SVGAnimatedLength", "Object");
48+
checkParent("SVGAnimatedLengthList", "Object");
49+
checkParent("SVGAnimatedNumber", "Object");
50+
checkParent("SVGAnimatedNumberList", "Object");
51+
checkParent("SVGAnimatedPathData", "Object");
52+
checkParent("SVGAnimatedPreserveAspectRatio", "Object");
53+
checkParent("SVGAnimatedRect", "Object");
54+
checkParent("SVGAnimatedString", "Object");
55+
checkParent("SVGAnimatedTransformList", "Object");
56+
checkParent("SVGAnimationElement", "SVGElement");
57+
checkParent("SVGCSSRule", "CSSRule");
58+
checkParent("SVGCircleElement", "SVGGeometryElement");
59+
checkParent("SVGClipPathElement", "SVGDefinitionElement");
60+
checkParent("SVGColorProfileElement", "SVGElement");
61+
checkParent("SVGColorProfileRule", "SVGCSSRule");
62+
checkParent("SVGCursorElement", "SVGElement");
63+
checkParent("SVGDefsElement", "SVGGraphicsElement");
64+
checkParent("SVGDescElement", "SVGElement");
65+
checkParent("SVGElement", "Element");
66+
checkParent("SVGElementInstance", "EventTarget");
67+
checkParent("SVGElementInstanceList", "Object");
68+
checkParent("SVGEllipseElement", "SVGGeometryElement");
69+
checkParent("SVGFontElement", "SVGElement");
70+
checkParent("SVGFontFaceElement", "SVGElement");
71+
checkParent("SVGFontFaceFormatElement", "SVGElement");
72+
checkParent("SVGFontFaceNameElement", "SVGElement");
73+
checkParent("SVGFontFaceSrcElement", "SVGElement");
74+
checkParent("SVGFontFaceUriElement", "SVGElement");
75+
checkParent("SVGForeignObjectElement", "SVGGraphicsElement");
76+
checkParent("SVGGElement", "SVGGraphicsElement");
77+
checkParent("SVGGeometryElement", "SVGGraphicsElement");
78+
checkParent("SVGGlyphElement", "SVGElement");
79+
checkParent("SVGGlyphRefElement", "SVGElement");
80+
checkParent("SVGGradientElement", "SVGElement");
81+
checkParent("SVGGraphicsElement", "SVGElement");
82+
checkParent("SVGHKernElement", "SVGElement");
83+
checkParent("SVGImageElement", "SVGGraphicsElement");
84+
checkParent("SVGLength", "Object");
85+
checkParent("SVGLengthList", "Object");
86+
checkParent("SVGLineElement", "SVGGeometryElement");
87+
checkParent("SVGLinearGradientElement", "SVGGradientElement");
88+
checkParent("SVGMPathElement", "SVGElement");
89+
checkParent("SVGMarkerElement", "SVGElement");
90+
checkParent("SVGMarkerInstance", "Object");
91+
checkParent("SVGMarkerList", "Object");
92+
checkParent("SVGMaskElement", "SVGDefinitionElement");
93+
checkParent("SVGMatrix", "Object");
94+
checkParent("SVGMeshGradientElement", "SVGGradientElement");
95+
checkParent("SVGMeshPatchElement", "SVGElement");
96+
checkParent("SVGMeshRowElement", "SVGElement");
97+
checkParent("SVGMetadataElement", "SVGElement");
98+
checkParent("SVGMissingGlyphElement", "SVGElement");
99+
checkParent("SVGNumber", "Object");
100+
checkParent("SVGNumberList", "Object");
101+
checkParent("SVGPathElement", "SVGGeometryElement");
102+
checkParent("SVGPathSeg", "Object");
103+
checkParent("SVGPathSegArcAbs", "SVGPathSeg");
104+
checkParent("SVGPathSegArcRel", "SVGPathSeg");
105+
checkParent("SVGPathSegClosePath", "SVGPathSeg");
106+
checkParent("SVGPathSegCurvetoCubicAbs", "SVGPathSeg");
107+
checkParent("SVGPathSegCurvetoCubicRel", "SVGPathSeg");
108+
checkParent("SVGPathSegCurvetoCubicSmoothAbs", "SVGPathSeg");
109+
checkParent("SVGPathSegCurvetoCubicSmoothRel", "SVGPathSeg");
110+
checkParent("SVGPathSegCurvetoQuadraticAbs", "SVGPathSeg");
111+
checkParent("SVGPathSegCurvetoQuadraticRel", "SVGPathSeg");
112+
checkParent("SVGPathSegCurvetoQuadraticSmoothAbs", "SVGPathSeg");
113+
checkParent("SVGPathSegCurvetoQuadraticSmoothRel", "SVGPathSeg");
114+
checkParent("SVGPathSegLinetoAbs", "SVGPathSeg");
115+
checkParent("SVGPathSegLinetoHorizontalAbs", "SVGPathSeg");
116+
checkParent("SVGPathSegLinetoHorizontalRel", "SVGPathSeg");
117+
checkParent("SVGPathSegLinetoRel", "SVGPathSeg");
118+
checkParent("SVGPathSegLinetoVerticalAbs", "SVGPathSeg");
119+
checkParent("SVGPathSegLinetoVerticalRel", "SVGPathSeg");
120+
checkParent("SVGPathSegList", "Object");
121+
checkParent("SVGPathSegMovetoAbs", "SVGPathSeg");
122+
checkParent("SVGPathSegMovetoRel", "SVGPathSeg");
123+
checkParent("SVGPatternElement", "SVGElement");
124+
checkParent("SVGPoint", "Object");
125+
checkParent("SVGPointList", "Object");
126+
checkParent("SVGPolygonElement", "SVGGeometryElement");
127+
checkParent("SVGPolylineElement", "SVGGeometryElement");
128+
checkParent("SVGPreserveAspectRatio", "Object");
129+
checkParent("SVGRadialGradientElement", "SVGGradientElement");
130+
checkParent("SVGRect", "Object");
131+
checkParent("SVGRectElement", "SVGGeometryElement");
132+
checkParent("SVGSVGElement", "SVGGraphicsElement");
133+
checkParent("SVGScriptElement", "SVGElement");
134+
checkParent("SVGSetElement", "SVGAnimationElement");
135+
checkParent("SVGStopElement", "SVGElement");
136+
checkParent("SVGStringList", "Object");
137+
checkParent("SVGStyleElement", "SVGElement");
138+
checkParent("SVGSwitchElement", "SVGGraphicsElement");
139+
checkParent("SVGSymbolElement", "SVGElement");
140+
checkParent("SVGTRefElement", "SVGTextPositioningElement");
141+
checkParent("SVGTSpanElement", "SVGTextPositioningElement");
142+
checkParent("SVGTextContentElement", "SVGGraphicsElement");
143+
checkParent("SVGTextElement", "SVGTextPositioningElement");
144+
checkParent("SVGTextPathElement", "SVGTextContentElement");
145+
checkParent("SVGTextPositioningElement", "SVGTextContentElement");
146+
checkParent("SVGTitleElement", "SVGElement");
147+
checkParent("SVGTransform", "Object");
148+
checkParent("SVGTransformList", "Object");
149+
checkParent("SVGUseElement", "SVGGraphicsElement");
150+
checkParent("SVGVKernElement", "SVGElement");
151+
checkParent("SVGViewElement", "SVGElement");
152+
checkParent("SVGViewSpec", "Object");
153+
checkParent("SVGZoomEvent", "UIEvent");
154+
checkParent("TimeEvent", "Event");
155+
</script>
156+
<script src="../../fast/js/resources/js-test-post.js"></script>
157+
</body>
158+
</html>

Source/WebCore/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,6 @@ set(WebCore_SVG_IDL_FILES
731731
svg/SVGStopElement.idl
732732
svg/SVGStringList.idl
733733
svg/SVGStyleElement.idl
734-
svg/SVGStyledElement.idl
735734
svg/SVGSwitchElement.idl
736735
svg/SVGSymbolElement.idl
737736
svg/SVGTRefElement.idl
@@ -2455,7 +2454,6 @@ set(WebCore_SOURCES
24552454
svg/SVGStopElement.cpp
24562455
svg/SVGStringList.cpp
24572456
svg/SVGStyleElement.cpp
2458-
svg/SVGStyledElement.cpp
24592457
svg/SVGSwitchElement.cpp
24602458
svg/SVGSymbolElement.cpp
24612459
svg/SVGTRefElement.cpp

0 commit comments

Comments
 (0)