- From: Christoph Päper via GitHub <noreply@w3.org>
- Date: Thu, 09 Oct 2025 07:19:37 +0000
- To: public-svg-issues@w3.org
SVG 2 Editor’s Draft: - [`SVGstyleElement`](https://svgwg.org/svg2-draft/styling.html#InterfaceSVGStyleElement) - [`media` attribute](https://svgwg.org/svg2-draft/styling.html#StyleElementMediaAttribute) > This attribute specifies a media query that must be matched for the style sheet to apply. Its value is parsed as a [media_query_list](https://www.w3.org/TR/mediaqueries-3/#syntax). This is linked to Level 3 of the Mediaqueries specification. ~~~~ abnf media_query_list : S* [media_query [ ',' S* media_query ]* ]? ; media_query : [ONLY | NOT]? S* media_type S* [ AND S* expression ]* | expression [ AND S* expression ]* ; media_type : IDENT ; expression : '(' S* media_feature S* [ ':' S* expr ]? ')' S* ; media_feature : IDENT ; ~~~~ Overall, this means that all kinds of MQ that are available with `@media` inside stylesheets should also be supported within the attribute value. TheOP seems to assume this was limited to the basic media types. There is no need to deprecate. -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1022#issuecomment-3384480722 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 07:19:38 UTC