From da2321d797010bec10cdd174dcf56114d8d1e447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 1 Jul 2020 12:48:45 +0200 Subject: [PATCH 1/2] Drop the [NoInterfaceObject] for SVGPathSegment This has been renamed in Web IDL: https://heycam.github.io/webidl/#LegacyNoInterfaceObject However, if the interface is implemented, it would be best to expose it for feature detection. --- specs/paths/master/Overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/paths/master/Overview.html b/specs/paths/master/Overview.html index 21a188c4..640aa216 100644 --- a/specs/paths/master/Overview.html +++ b/specs/paths/master/Overview.html @@ -1368,7 +1368,7 @@

Interface SVGPathSegment

The SVGPathSegment interface is a base interface that corresponds to a single command within a path data specification. -
[NoInterfaceObject]
+
 interface SVGPathSegment {
   DOMString type;
   sequence<float> values;

From bbeb890381ec37a9a0eac59286e5bc5e086afea8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= 
Date: Fri, 3 Jul 2020 23:00:09 +0200
Subject: [PATCH 2/2] Fix more Web IDL errors

---
 specs/paths/master/Overview.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/specs/paths/master/Overview.html b/specs/paths/master/Overview.html
index 640aa216..70afc3a8 100644
--- a/specs/paths/master/Overview.html
+++ b/specs/paths/master/Overview.html
@@ -1370,8 +1370,8 @@ 

Interface SVGPathSegment

 interface SVGPathSegment {
-  DOMString type;
-  sequence<float> values;
+  attribute DOMString type;
+  attribute FrozenArray<float> values;
 };
@@ -1397,7 +1397,7 @@

Mi
 dictionary SVGPathDataSettings {
    boolean normalize = false;
-}
+};
 
 interface mixin SVGPathData {
    sequence<SVGPathSegment> getPathData(optional SVGPathDataSettings settings);