From 8d29aa7aebcabf1ae95c80088c6884a9cadc0dfa Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Wed, 16 Dec 2020 10:11:47 +0100 Subject: [PATCH] Mark old SVG interfaces as obsolete (#240) * Mark SVGCursorElement as deprecated Removed in https://github.com/w3c/svgwg/commit/94eb871d6d802ccce8dbdb8934d4baba58a38c18 but still available in WebKit so marking it as deprecated rather than obsolete https://developer.apple.com/documentation/webkitjs/svgcursorelement * fixup cursor * Mark SVGEvent as obsolete Removed in https://dev.w3.org/cvsweb/SVG/profiles/1.1F2/master/interact.html.diff?r1=1.15;r2=1.16 * Mark SVGStylable as obsolete Per https://github.com/w3c/svgwg/commit/0f5bb90b8073c085c60059e6fee725b3d1a1dee4 * Mark SVGTransformable as obsolete Per https://github.com/w3c/svgwg/commit/6ce402c7d19bccc3646649d29c3a77d6aa7ee0cb --- files/en-us/web/api/svgcursorelement/index.html | 2 +- files/en-us/web/api/svgevent/index.html | 2 +- files/en-us/web/api/svgstylable/index.html | 3 +-- files/en-us/web/api/svgtransformable/index.html | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/files/en-us/web/api/svgcursorelement/index.html b/files/en-us/web/api/svgcursorelement/index.html index cd4053e71f5eeac..4c14d3e888db5d0 100644 --- a/files/en-us/web/api/svgcursorelement/index.html +++ b/files/en-us/web/api/svgcursorelement/index.html @@ -8,7 +8,7 @@ - SVG - SVG DOM --- -
{{APIRef("SVG")}}
+
{{deprecated_header}}{{APIRef("SVG")}}

The SVGCursorElement interface provides access to the properties of {{ SVGElement("cursor") }} elements, as well as methods to manipulate them.

diff --git a/files/en-us/web/api/svgevent/index.html b/files/en-us/web/api/svgevent/index.html index 6e32cd62d4e0a3a..effec21c6487e52 100644 --- a/files/en-us/web/api/svgevent/index.html +++ b/files/en-us/web/api/svgevent/index.html @@ -7,7 +7,7 @@ - SVG - WebAPI --- -
{{APIRef("SVG")}}
+
{{obsolete_header}}{{APIRef("SVG")}}

The {{domxref("SVGEvent")}} interface represents the event object for most SVG-related events.

diff --git a/files/en-us/web/api/svgstylable/index.html b/files/en-us/web/api/svgstylable/index.html index 81461bdb84cdbd6..d7d805bef13490d 100644 --- a/files/en-us/web/api/svgstylable/index.html +++ b/files/en-us/web/api/svgstylable/index.html @@ -9,9 +9,8 @@ - SVG - SVG DOM --- -
{{APIRef("SVG")}}
+
{{obsolete_header}}{{APIRef("SVG")}}
-

SVG stylable interface

The SVGStylable interface is implemented on all objects corresponding to SVG elements that can have {{ SVGAttr("style") }}, {{SVGAttr("class")}} and presentation attributes specified on them.

diff --git a/files/en-us/web/api/svgtransformable/index.html b/files/en-us/web/api/svgtransformable/index.html index 51d4d77d73f2be7..deb42a22a9da938 100644 --- a/files/en-us/web/api/svgtransformable/index.html +++ b/files/en-us/web/api/svgtransformable/index.html @@ -9,9 +9,8 @@ - SVG - SVG DOM --- -
{{APIRef("SVG")}}
+
{{obsolete_header}}{{APIRef("SVG")}}
-

SVG transformable interface

Interface SVGTransformable contains properties and methods that apply to all elements which have attribute {{ SVGAttr("transform") }}.