From 6b67a3efe4b8c1b0c0f3477dcc281779b8c6afff Mon Sep 17 00:00:00 2001
From: Luke Warlow
Date: Tue, 26 Aug 2025 16:20:42 +0100
Subject: [PATCH 1/2] Align type and media attributes from SVGStyleElement with
HTMLStyleElement
- type and media no longer have an initial value
- type is obsoleted
---
master/styling.html | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/master/styling.html b/master/styling.html
index 00cb7205..bcb65753 100644
--- a/master/styling.html
+++ b/master/styling.html
@@ -81,7 +81,7 @@ Inline style sheets: the 'style
| type |
(see below) |
- text/css |
+ (none) |
no |
@@ -91,7 +91,8 @@ Inline style sheets: the 'style
the element's contents, as a media type.
[rfc2046].
If the attribute is not specified, then the
- style sheet language is assumed to be CSS.
+ style sheet language is assumed to be CSS.
+ This attribute is obsoleted and should not be used.
@@ -104,7 +105,7 @@ Inline style sheets: the 'style
| media |
(see below) |
- all |
+ (none) |
no |
@@ -726,10 +727,12 @@ Interface SVGStyleElement
[Exposed=Window]
interface SVGStyleElement : SVGElement {
- attribute DOMString type;
attribute DOMString media;
attribute DOMString title;
attribute boolean disabled;
+
+ // obsolete members
+ attribute DOMString type;
};
SVGStyleElement includes LinkStyle;
From 3194a7aba6de87c6a239fa42a3e00c07b1688a77 Mon Sep 17 00:00:00 2001
From: Luke Warlow
Date: Thu, 9 Oct 2025 13:52:34 +0100
Subject: [PATCH 2/2] Drop d from obsoleted
---
master/styling.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/master/styling.html b/master/styling.html
index bcb65753..69ae62cb 100644
--- a/master/styling.html
+++ b/master/styling.html
@@ -92,7 +92,7 @@ Inline style sheets: the 'style
[rfc2046].
If the attribute is not specified, then the
style sheet language is assumed to be CSS.
- This attribute is obsoleted and should not be used.
+ This attribute is obsolete and should not be used.