Skip to content

Commit 070d464

Browse files
committed
Add patch for ed/idl/svg-paths.idl
Fix Web IDL
1 parent 304f823 commit 070d464

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

ed/idlpatches/svg-paths.idl.patch

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
From 9a31ecbbc7706498e54712fa204a0b9d2b7a26cf Mon Sep 17 00:00:00 2001
1+
From f897418ac4ae06110152d1512f3bd779348427c3 Mon Sep 17 00:00:00 2001
22
From: Francois Daoust <[email protected]>
3-
Date: Thu, 6 Mar 2025 08:52:46 +0100
3+
Date: Thu, 6 Mar 2025 16:11:18 +0100
44
Subject: [PATCH] Fix Web IDL
55

66
Pending resolution of https://github.com/w3c/svgwg/issues/964
7-
8-
The patch drops the `values` attribute of `SVGPathSegment` pending a proper
9-
resolution of the underlying issue (attribute cannot accept sequence types).
107
---
11-
ed/idl/svg-paths.idl | 8 ++++----
12-
1 file changed, 4 insertions(+), 4 deletions(-)
8+
ed/idl/svg-paths.idl | 9 +++++----
9+
1 file changed, 5 insertions(+), 4 deletions(-)
1310

1411
diff --git a/ed/idl/svg-paths.idl b/ed/idl/svg-paths.idl
15-
index e432cc0ad..41454fa46 100644
12+
index e432cc0ad..2f0813572 100644
1613
--- a/ed/idl/svg-paths.idl
1714
+++ b/ed/idl/svg-paths.idl
18-
@@ -3,21 +3,21 @@
15+
@@ -3,21 +3,22 @@
1916
// (https://github.com/w3c/webref)
2017
// Source: SVG Paths (https://svgwg.org/specs/paths/)
2118

@@ -25,6 +22,7 @@ index e432cc0ad..41454fa46 100644
2522
- DOMString type;
2623
- sequence<float> values;
2724
+ attribute DOMString type;
25+
+ attribute FrozenArray<float> values;
2826
};
2927

3028
dictionary SVGPathDataSettings {

0 commit comments

Comments
 (0)