From 754864203195c9d95970c80b4a48706d03b73f10 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Fri, 20 Dec 2024 13:56:48 -0500 Subject: [PATCH] Add SVG deprecated as discouraged feature --- features/ping.yml | 2 -- features/ping.yml.dist | 5 ----- features/{draft => }/svg-deprecated.yml | 13 ++++++++----- features/{draft => }/svg-deprecated.yml.dist | 13 +++++++++++++ features/svg.yml | 1 - features/svg.yml.dist | 1 - 6 files changed, 21 insertions(+), 14 deletions(-) rename features/{draft => }/svg-deprecated.yml (94%) rename features/{draft => }/svg-deprecated.yml.dist (97%) diff --git a/features/ping.yml b/features/ping.yml index 027756a5586..af57c0476cb 100644 --- a/features/ping.yml +++ b/features/ping.yml @@ -7,7 +7,5 @@ status: compat_features: - api.HTMLAnchorElement.ping - api.HTMLAreaElement.ping - - api.SVGAElement.ping - html.elements.a.ping - html.elements.area.ping - - svg.elements.a.ping diff --git a/features/ping.yml.dist b/features/ping.yml.dist index ea8bf8e010a..5cee2ef9346 100644 --- a/features/ping.yml.dist +++ b/features/ping.yml.dist @@ -30,8 +30,3 @@ compat_features: # safari_ios: "6" - html.elements.a.ping - html.elements.area.ping - - # baseline: false - # support: {} - - api.SVGAElement.ping - - svg.elements.a.ping diff --git a/features/draft/svg-deprecated.yml b/features/svg-deprecated.yml similarity index 94% rename from features/draft/svg-deprecated.yml rename to features/svg-deprecated.yml index 67976b21f16..715539ccef8 100644 --- a/features/draft/svg-deprecated.yml +++ b/features/svg-deprecated.yml @@ -1,7 +1,11 @@ -draft_date: 2024-10-085 -name: svg-deprecated -description: Placeholder for deprecated or non-real features +name: SVG (deprecated) +description: SVG 2 deprecated or removed a significant number of features defined in SVG 1.1, including features related to fonts, alternate glyphs, the `xlink` namespace, and the `` and `` elements. spec: https://svgwg.org/svg2-draft/ +discouraged: + according_to: + - https://svgwg.org/svg2-draft/changes.html#substantial + alternatives: + - svg compat_features: - api.SVGAElement.ping - api.SVGAElement.text @@ -123,8 +127,6 @@ compat_features: - svg.elements.vkern.k - svg.elements.vkern.u1 - svg.elements.vkern.u2 - - # Confirmed to be DEPRECATED - svg.global_attributes.glyph-orientation-horizontal - svg.global_attributes.glyph-orientation-vertical - api.SVGSVGElement.currentView @@ -181,3 +183,4 @@ compat_features: - api.SVGPoint.matrixTransform - api.SVGPoint.x - api.SVGPoint.y + - svg.elements.script.xlink_href diff --git a/features/draft/svg-deprecated.yml.dist b/features/svg-deprecated.yml.dist similarity index 97% rename from features/draft/svg-deprecated.yml.dist rename to features/svg-deprecated.yml.dist index 5b45aff3bdf..2808b121233 100644 --- a/features/draft/svg-deprecated.yml.dist +++ b/features/svg-deprecated.yml.dist @@ -5,6 +5,19 @@ status: baseline: false support: {} compat_features: + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "79" + # firefox: "1.5" + # firefox_android: "4" + # safari: "3" + # safari_ios: "2" + - svg.elements.script.xlink_href + # baseline: false # support: # chrome: "1" diff --git a/features/svg.yml b/features/svg.yml index 739b1d1be17..15ea1e3046a 100644 --- a/features/svg.yml +++ b/features/svg.yml @@ -428,7 +428,6 @@ compat_features: - svg.elements.script - svg.elements.script.href - svg.elements.script.type - - svg.elements.script.xlink_href - svg.elements.set - svg.elements.set.fill - svg.elements.set.href diff --git a/features/svg.yml.dist b/features/svg.yml.dist index 416b61c08fd..d3b9f6f10f9 100644 --- a/features/svg.yml.dist +++ b/features/svg.yml.dist @@ -990,7 +990,6 @@ compat_features: - svg.elements.radialGradient.r - svg.elements.radialGradient.spreadMethod - svg.elements.script.type - - svg.elements.script.xlink_href - svg.elements.style.media - svg.elements.style.title - svg.elements.style.type