commit a55f7b5f9bd505ae438c82c5faae7ac0c6451447
parent d5269d2238bc79ee50c991e1ab120a0c95c08a50
Author: longsonr <longsonr@gmail.com>
Date: Fri, 14 Nov 2025 02:35:10 +0000
Bug 2000136 - SVGSymbolElement should implement the SVGGraphicsElement interface r=emilio,webidl
Differential Revision: https://phabricator.services.mozilla.com/D272564
Diffstat:
2 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/dom/webidl/SVGSymbolElement.webidl b/dom/webidl/SVGSymbolElement.webidl
@@ -11,7 +11,7 @@
*/
[Exposed=Window]
-interface SVGSymbolElement : SVGElement {
+interface SVGSymbolElement : SVGGraphicsElement {
};
SVGSymbolElement includes SVGFitToViewBox;
diff --git a/testing/web-platform/meta/svg/idlharness.window.js.ini b/testing/web-platform/meta/svg/idlharness.window.js.ini
@@ -81,21 +81,6 @@
[SVGElement interface: objects.title must inherit property "correspondingUseElement" with the proper type]
expected: FAIL
- [SVGSymbolElement interface: existence and properties of interface object]
- expected: FAIL
-
- [SVGSymbolElement interface: existence and properties of interface prototype object]
- expected: FAIL
-
- [SVGGraphicsElement interface: objects.symbol must inherit property "transform" with the proper type]
- expected: FAIL
-
- [SVGGraphicsElement interface: objects.symbol must inherit property "getCTM()" with the proper type]
- expected: FAIL
-
- [SVGGraphicsElement interface: objects.symbol must inherit property "getScreenCTM()" with the proper type]
- expected: FAIL
-
[SVGElement interface: objects.symbol must inherit property "correspondingElement" with the proper type]
expected: FAIL
@@ -303,9 +288,6 @@
[SVGSVGElement interface: calling getEnclosureList(DOMRectReadOnly, SVGElement?) on objects.svg with too few arguments must throw TypeError]
expected: FAIL
- [SVGGraphicsElement interface: calling getBBox(optional SVGBoundingBoxOptions) on objects.symbol with too few arguments must throw TypeError]
- expected: FAIL
-
[SVGSVGElement interface: operation getEnclosureList(DOMRectReadOnly, SVGElement?)]
expected: FAIL
@@ -318,9 +300,6 @@
[SVGSVGElement interface: objects.svg must inherit property "getEnclosureList(DOMRectReadOnly, SVGElement?)" with the proper type]
expected: FAIL
- [SVGGraphicsElement interface: objects.symbol must inherit property "getBBox(optional SVGBoundingBoxOptions)" with the proper type]
- expected: FAIL
-
[SVGSVGElement interface: objects.svg must inherit property "getIntersectionList(DOMRectReadOnly, SVGElement?)" with the proper type]
expected: FAIL