Skip to content

Commit 2e730ba

Browse files
committed
Add patch for ed/idl/SVG.idl
Fix IDL of SVG spec
1 parent 7478a52 commit 2e730ba

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

ed/idlpatches/SVG.idl.patch

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
1-
From faaa4cf0e963176563339e6befb3fb84077d5f7f Mon Sep 17 00:00:00 2001
1+
From 72944b9e997845440b87fd416cfa6e41318d61e5 Mon Sep 17 00:00:00 2001
22
From: Francois Daoust <[email protected]>
3-
Date: Thu, 6 Mar 2025 16:31:29 +0100
3+
Date: Mon, 15 Sep 2025 10:39:34 +0200
44
Subject: [PATCH] Fix IDL of SVG spec
55

6-
HTMLHyperlinkElementUtils: https://github.com/w3c/svgwg/issues/312
6+
- `HTMLHyperlinkElementUtils`: https://github.com/w3c/svgwg/issues/312
7+
- Constructor: https://github.com/w3c/svgwg/pull/1010
78

89
Also drop `SVGPathElement`, now that SVG Paths is also being crawled, pending
910
clarification of status between SVG 2 and SVG Paths.
1011
---
11-
ed/idl/SVG.idl | 20 ++++++++++++++------
12-
1 file changed, 14 insertions(+), 6 deletions(-)
12+
ed/idl/SVG.idl | 22 ++++++++++++++++------
13+
1 file changed, 16 insertions(+), 6 deletions(-)
1314

1415
diff --git a/ed/idl/SVG.idl b/ed/idl/SVG.idl
15-
index 9ce619d1e..5dff2947b 100644
16+
index d046678667..d1346c82c1 100644
1617
--- a/ed/idl/SVG.idl
1718
+++ b/ed/idl/SVG.idl
18-
@@ -13,7 +13,6 @@ interface SVGElement : Element {
19+
@@ -314,8 +314,9 @@ interface mixin SVGElementInstance {
20+
[SameObject] readonly attribute SVGUseElement? correspondingUseElement;
1921
};
2022

21-
SVGElement includes GlobalEventHandlers;
22-
-SVGElement includes DocumentAndElementEventHandlers;
23-
SVGElement includes SVGElementInstance;
24-
SVGElement includes HTMLOrSVGElement;
23+
-[Constructor(Animation source, Animatable newTarget), Exposed=Window]
24+
+[Exposed=Window]
25+
interface ShadowAnimation : Animation {
26+
+ constructor(Animation source, Animatable newTarget);
27+
[SameObject] readonly attribute Animation sourceAnimation;
28+
};
2529

26-
@@ -419,10 +418,6 @@ interface SVGAnimatedPreserveAspectRatio {
30+
@@ -418,10 +419,6 @@ interface SVGAnimatedPreserveAspectRatio {
2731
[SameObject] readonly attribute SVGPreserveAspectRatio animVal;
2832
};
2933

@@ -34,7 +38,7 @@ index 9ce619d1e..5dff2947b 100644
3438
[Exposed=Window]
3539
interface SVGRectElement : SVGGeometryElement {
3640
[SameObject] readonly attribute SVGAnimatedLength x;
37-
@@ -673,7 +668,20 @@ interface SVGAElement : SVGGraphicsElement {
41+
@@ -671,7 +668,20 @@ interface SVGAElement : SVGGraphicsElement {
3842
};
3943

4044
SVGAElement includes SVGURIReference;
@@ -57,5 +61,5 @@ index 9ce619d1e..5dff2947b 100644
5761
[Exposed=Window]
5862
interface SVGViewElement : SVGElement {};
5963
--
60-
2.37.1.windows.1
64+
2.51.0
6165

0 commit comments

Comments
 (0)