Skip to content

Commit 8cf9c1b

Browse files
authored
Add patch for ed/idl/SVG.idl (#1488)
Fix IDL of SVG spec
1 parent 7db29f8 commit 8cf9c1b

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

ed/idlpatches/SVG.idl.patch

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
From 241ad781048c26b5d1c107fd2f35c16bb5f05ab2 Mon Sep 17 00:00:00 2001
1+
From faaa4cf0e963176563339e6befb3fb84077d5f7f Mon Sep 17 00:00:00 2001
22
From: Francois Daoust <[email protected]>
3-
Date: Fri, 23 Dec 2022 23:48:52 +0100
3+
Date: Thu, 6 Mar 2025 16:31:29 +0100
44
Subject: [PATCH] Fix IDL of SVG spec
55

66
HTMLHyperlinkElementUtils: https://github.com/w3c/svgwg/issues/312
7+
8+
Also drop `SVGPathElement`, now that SVG Paths is also being crawled, pending
9+
clarification of status between SVG 2 and SVG Paths.
710
---
8-
ed/idl/SVG.idl | 16 ++++++++++++++--
9-
1 file changed, 14 insertions(+), 2 deletions(-)
11+
ed/idl/SVG.idl | 20 ++++++++++++++------
12+
1 file changed, 14 insertions(+), 6 deletions(-)
1013

1114
diff --git a/ed/idl/SVG.idl b/ed/idl/SVG.idl
12-
index 9ce619d1e..3a0b86126 100644
15+
index 9ce619d1e..5dff2947b 100644
1316
--- a/ed/idl/SVG.idl
1417
+++ b/ed/idl/SVG.idl
1518
@@ -13,7 +13,6 @@ interface SVGElement : Element {
@@ -20,7 +23,18 @@ index 9ce619d1e..3a0b86126 100644
2023
SVGElement includes SVGElementInstance;
2124
SVGElement includes HTMLOrSVGElement;
2225

23-
@@ -673,7 +672,20 @@ interface SVGAElement : SVGGraphicsElement {
26+
@@ -419,10 +418,6 @@ interface SVGAnimatedPreserveAspectRatio {
27+
[SameObject] readonly attribute SVGPreserveAspectRatio animVal;
28+
};
29+
30+
-[Exposed=Window]
31+
-interface SVGPathElement : SVGGeometryElement {
32+
-};
33+
-
34+
[Exposed=Window]
35+
interface SVGRectElement : SVGGeometryElement {
36+
[SameObject] readonly attribute SVGAnimatedLength x;
37+
@@ -673,7 +668,20 @@ interface SVGAElement : SVGGraphicsElement {
2438
};
2539

2640
SVGAElement includes SVGURIReference;
@@ -43,5 +57,5 @@ index 9ce619d1e..3a0b86126 100644
4357
[Exposed=Window]
4458
interface SVGViewElement : SVGElement {};
4559
--
46-
2.39.0.windows.1
60+
2.37.1.windows.1
4761

0 commit comments

Comments
 (0)