[svgwg] SVGStyleElement - deprecate 'media' attribute (#1022)

nikolaszimmermann has just created a new issue for https://github.com/w3c/svgwg:

== SVGStyleElement - deprecate 'media' attribute ==
Nowadays we can use CSS Media Queries (https://www.w3.org/TR/mediaqueries-5/), to differentiate between "all | print | screen | ..." media types - within the same stylesheet.
In the old times you would need to define different <style> declarations, with different media="..." attributes (e.g. all | aural | braille | ... tv) (https://www.w3.org/TR/2008/REC-CSS2-20080411/media.html#media-types).

Therefore we don't really need the media="" functionality anymore for SVGStyleElement -- time to deprecate?


Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1022 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 October 2025 05:59:46 UTC