- From: Luke Warlow via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 14:27:20 +0000
- To: public-svg-issues@w3.org
lukewarlow has just created a new issue for https://github.com/w3c/svgwg: == What should SVGStyleElement.media return when media attribute is missing? == Load `data:text/html,<svg><style id="style"></style></svg><script>alert(style.media);</script>` in Chromium and WebKit you'll see an alert with `all`, in Firefox you'll see an empty string. Per spec Firefox is correct and WebKit and Chromium are wrong, but I'm wondering which behaviour is actually desirable here? Should WebKit and Chromium update to match Firefox or vice versa? Please view or discuss this issue at https://github.com/w3c/svgwg/issues/995 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 14:27:21 UTC