Changeset 251764 in webkit
- Timestamp:
- Oct 29, 2019 8:14:51 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r251761 r251764 1 2019-10-29 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 [SVG2] SVGSymbolElement should inherits SVGGraphicsElement 4 https://bugs.webkit.org/show_bug.cgi?id=203573 5 6 Reviewed by Simon Fraser. 7 8 * svg/dom/svg2-inheritance-expected.txt: 9 * svg/dom/svg2-inheritance.html: 10 1 11 2019-10-29 Wenson Hsieh <wenson_hsieh@apple.com> 2 12 -
trunk/LayoutTests/imported/w3c/ChangeLog
r251750 r251764 1 2019-10-29 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 [SVG2] SVGSymbolElement should inherits SVGGraphicsElement 4 https://bugs.webkit.org/show_bug.cgi?id=203573 5 6 Reviewed by Simon Fraser. 7 8 * web-platform-tests/svg/idlharness.window-expected.txt: 9 1 10 2019-10-29 Simon Fraser <simon.fraser@apple.com> 2 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/svg/idlharness.window-expected.txt
r251527 r251764 512 512 FAIL SVGElement interface: objects.title must inherit property "correspondingElement" with the proper type assert_inherits: property "correspondingElement" not found in prototype chain 513 513 FAIL SVGElement interface: objects.title must inherit property "correspondingUseElement" with the proper type assert_inherits: property "correspondingUseElement" not found in prototype chain 514 FAIL SVGSymbolElement interface: existence and properties of interface object assert_equals: prototype of SVGSymbolElement is not SVGGraphicsElement expected function "function SVGGraphicsElement() { 515 [native code] 516 }" but got function "function SVGElement() { 517 [native code] 518 }" 514 PASS SVGSymbolElement interface: existence and properties of interface object 519 515 PASS SVGSymbolElement interface object length 520 516 PASS SVGSymbolElement interface object name 521 FAIL SVGSymbolElement interface: existence and properties of interface prototype object assert_equals: prototype of SVGSymbolElement.prototype is not SVGGraphicsElement.prototype expected object "[object SVGGraphicsElementPrototype]" but got object "[object SVGElementPrototype]" 517 PASS SVGSymbolElement interface: existence and properties of interface prototype object 522 518 PASS SVGSymbolElement interface: existence and properties of interface prototype object's "constructor" property 523 519 PASS SVGSymbolElement interface: existence and properties of interface prototype object's @@unscopables property … … 528 524 PASS SVGSymbolElement interface: objects.symbol must inherit property "viewBox" with the proper type 529 525 PASS SVGSymbolElement interface: objects.symbol must inherit property "preserveAspectRatio" with the proper type 530 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "transform" with the proper type assert_inherits: property "transform" not found in prototype chain 531 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "getBBox(SVGBoundingBoxOptions)" with the proper type assert_inherits: property "getBBox" not found in prototype chain 532 FAIL SVGGraphicsElement interface: calling getBBox(SVGBoundingBoxOptions) on objects.symbol with too few arguments must throw TypeError assert_inherits: property "getBBox" not found in prototype chain 533 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "getCTM()" with the proper type assert_inherits: property "getCTM" not found in prototype chain 534 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "getScreenCTM()" with the proper type assert_inherits: property "getScreenCTM" not found in prototype chain 535 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "requiredExtensions" with the proper type assert_inherits: property "requiredExtensions" not found in prototype chain 536 FAIL SVGGraphicsElement interface: objects.symbol must inherit property "systemLanguage" with the proper type assert_inherits: property "systemLanguage" not found in prototype chain 526 PASS SVGGraphicsElement interface: objects.symbol must inherit property "transform" with the proper type 527 PASS SVGGraphicsElement interface: objects.symbol must inherit property "getBBox(SVGBoundingBoxOptions)" with the proper type 528 PASS SVGGraphicsElement interface: calling getBBox(SVGBoundingBoxOptions) on objects.symbol with too few arguments must throw TypeError 529 PASS SVGGraphicsElement interface: objects.symbol must inherit property "getCTM()" with the proper type 530 PASS SVGGraphicsElement interface: objects.symbol must inherit property "getScreenCTM()" with the proper type 531 PASS SVGGraphicsElement interface: objects.symbol must inherit property "requiredExtensions" with the proper type 532 PASS SVGGraphicsElement interface: objects.symbol must inherit property "systemLanguage" with the proper type 537 533 PASS SVGElement interface: objects.symbol must inherit property "className" with the proper type 538 534 PASS SVGElement interface: objects.symbol must inherit property "ownerSVGElement" with the proper type -
trunk/LayoutTests/svg/dom/svg2-inheritance-expected.txt
r231955 r251764 107 107 PASS SVGStyleElement inherits SVGElement 108 108 PASS SVGSwitchElement inherits SVGGraphicsElement 109 PASS SVGSymbolElement inherits SVG Element109 PASS SVGSymbolElement inherits SVGGraphicsElement 110 110 PASS SVGTRefElement inherits SVGTextPositioningElement 111 111 PASS SVGTSpanElement inherits SVGTextPositioningElement -
trunk/LayoutTests/svg/dom/svg2-inheritance.html
r179810 r251764 135 135 checkParent("SVGStyleElement", "SVGElement"); 136 136 checkParent("SVGSwitchElement", "SVGGraphicsElement"); 137 checkParent("SVGSymbolElement", "SVG Element");137 checkParent("SVGSymbolElement", "SVGGraphicsElement"); 138 138 checkParent("SVGTRefElement", "SVGTextPositioningElement"); 139 139 checkParent("SVGTSpanElement", "SVGTextPositioningElement"); -
trunk/Source/WebCore/ChangeLog
r251762 r251764 1 2019-10-29 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 [SVG2] SVGSymbolElement should inherits SVGGraphicsElement 4 https://bugs.webkit.org/show_bug.cgi?id=203573 5 6 Reviewed by Simon Fraser. 7 8 The spec link is: 9 https://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSymbolElement 10 11 * svg/SVGSymbolElement.cpp: 12 (WebCore::SVGSymbolElement::SVGSymbolElement): 13 (WebCore::SVGSymbolElement::parseAttribute): 14 * svg/SVGSymbolElement.h: 15 * svg/SVGSymbolElement.idl: 16 1 17 2019-10-29 Jiewen Tan <jiewen_tan@apple.com> 2 18 -
trunk/Source/WebCore/svg/SVGSymbolElement.cpp
r251318 r251764 33 33 34 34 inline SVGSymbolElement::SVGSymbolElement(const QualifiedName& tagName, Document& document) 35 : SVG Element(tagName, document)35 : SVGGraphicsElement(tagName, document) 36 36 , SVGFitToViewBox(this) 37 37 { … … 46 46 void SVGSymbolElement::parseAttribute(const QualifiedName& name, const AtomString& value) 47 47 { 48 SVG Element::parseAttribute(name, value);48 SVGGraphicsElement::parseAttribute(name, value); 49 49 SVGFitToViewBox::parseAttribute(name, value); 50 50 } -
trunk/Source/WebCore/svg/SVGSymbolElement.h
r251318 r251764 22 22 #pragma once 23 23 24 #include "SVGElement.h"25 24 #include "SVGFitToViewBox.h" 25 #include "SVGGraphicsElement.h" 26 26 27 27 namespace WebCore { 28 28 29 class SVGSymbolElement final : public SVG Element, public SVGFitToViewBox {29 class SVGSymbolElement final : public SVGGraphicsElement, public SVGFitToViewBox { 30 30 WTF_MAKE_ISO_ALLOCATED(SVGSymbolElement); 31 31 public: … … 35 35 SVGSymbolElement(const QualifiedName&, Document&); 36 36 37 using PropertyRegistry = SVGPropertyOwnerRegistry<SVGSymbolElement, SVG Element, SVGFitToViewBox>;37 using PropertyRegistry = SVGPropertyOwnerRegistry<SVGSymbolElement, SVGGraphicsElement, SVGFitToViewBox>; 38 38 const SVGPropertyRegistry& propertyRegistry() const final { return m_propertyRegistry; } 39 39 -
trunk/Source/WebCore/svg/SVGSymbolElement.idl
r251318 r251764 24 24 */ 25 25 26 interface SVGSymbolElement : SVG Element {26 interface SVGSymbolElement : SVGGraphicsElement { 27 27 }; 28 28
Note: See TracChangeset
for help on using the changeset viewer.