|
1 | | -From 241ad781048c26b5d1c107fd2f35c16bb5f05ab2 Mon Sep 17 00:00:00 2001 |
| 1 | +From 8e2c2ca45148968a37f93741035e7e648ad1eab5 Mon Sep 17 00:00:00 2001 |
2 | 2 | From: Francois Daoust < [email protected]> |
3 | | -Date: Fri, 23 Dec 2022 23:48:52 +0100 |
4 | | -Subject: [PATCH] Fix IDL of SVG spec |
| 3 | +Date: Thu, 6 Mar 2025 16:22:10 +0100 |
| 4 | +Subject: [PATCH] Drop SVGPathElement interface |
5 | 5 |
|
6 | | -HTMLHyperlinkElementUtils: https://github.com/w3c/svgwg/issues/312 |
| 6 | +The interface is more thoroughly defined in SVG Paths and now implemented in |
| 7 | +Firefox. |
| 8 | + |
| 9 | +No related issue, pending clarification on the status of SVG Paths and SVG 2. |
7 | 10 | --- |
8 | | - ed/idl/SVG.idl | 16 ++++++++++++++-- |
9 | | - 1 file changed, 14 insertions(+), 2 deletions(-) |
| 11 | + ed/idl/SVG.idl | 4 ---- |
| 12 | + 1 file changed, 4 deletions(-) |
10 | 13 |
|
11 | 14 | diff --git a/ed/idl/SVG.idl b/ed/idl/SVG.idl |
12 | | -index 9ce619d1e..3a0b86126 100644 |
| 15 | +index 9ce619d1e..ca918802e 100644 |
13 | 16 | --- a/ed/idl/SVG.idl |
14 | 17 | +++ b/ed/idl/SVG.idl |
15 | | -@@ -13,7 +13,6 @@ interface SVGElement : Element { |
| 18 | +@@ -419,10 +419,6 @@ interface SVGAnimatedPreserveAspectRatio { |
| 19 | + [SameObject] readonly attribute SVGPreserveAspectRatio animVal; |
16 | 20 | }; |
17 | 21 |
|
18 | | - SVGElement includes GlobalEventHandlers; |
19 | | --SVGElement includes DocumentAndElementEventHandlers; |
20 | | - SVGElement includes SVGElementInstance; |
21 | | - SVGElement includes HTMLOrSVGElement; |
22 | | - |
23 | | -@@ -673,7 +672,20 @@ interface SVGAElement : SVGGraphicsElement { |
24 | | - }; |
25 | | - |
26 | | - SVGAElement includes SVGURIReference; |
27 | | --SVGAElement includes HTMLHyperlinkElementUtils; |
28 | | -+ |
29 | | -+// Inline HTMLHyperlinkElementUtils except href, which conflicts. |
30 | | -+partial interface SVGAElement { |
31 | | -+ readonly attribute USVString origin; |
32 | | -+ [CEReactions] attribute USVString protocol; |
33 | | -+ [CEReactions] attribute USVString username; |
34 | | -+ [CEReactions] attribute USVString password; |
35 | | -+ [CEReactions] attribute USVString host; |
36 | | -+ [CEReactions] attribute USVString hostname; |
37 | | -+ [CEReactions] attribute USVString port; |
38 | | -+ [CEReactions] attribute USVString pathname; |
39 | | -+ [CEReactions] attribute USVString search; |
40 | | -+ [CEReactions] attribute USVString hash; |
41 | | -+}; |
42 | | - |
| 22 | +-[Exposed=Window] |
| 23 | +-interface SVGPathElement : SVGGeometryElement { |
| 24 | +-}; |
| 25 | +- |
43 | 26 | [Exposed=Window] |
44 | | - interface SVGViewElement : SVGElement {}; |
| 27 | + interface SVGRectElement : SVGGeometryElement { |
| 28 | + [SameObject] readonly attribute SVGAnimatedLength x; |
45 | 29 | -- |
46 | | -2.39.0.windows.1 |
| 30 | +2.37.1.windows.1 |
47 | 31 |
|
0 commit comments