As of today, I intend to turn on the scripting media feature by default on all platforms. It has not been developed behind a flag, rather being enabled by default in the implementation patch as it is a low-risk feature. No other browsers ship or implement the feature at this time.
*Summary:* The scripting media feature allows web developers to change styling using a media query, rather than having to use JS or the noscript element, which is not very easy or intuitive. *Bug:* https://bugzil.la/1166581 *Specification: * https://www.w3.org/TR/mediaqueries-5/#descdef-media-scripting *Standards body: *W3C CSSWG *Platform coverage:* All *Preference:* None *DevTools bug: *https://bugzil.la/1824689 for rule view. Emulation is not needed. *Standards position:* https://github.com/mozilla/standards-positions/issues/765 *Other browsers:* - *Blink:* Not shipped or implemented. Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=489957 - *WebKit: *Not shipped or implemented. No bug filed. *Web platform tests: *Added in Gecko patch, https://phabricator.services.mozilla.com/D172995 *How stable is the spec: *Media Queries Level 5 is currently a Working Draft. *Security & privacy concerns:* There are practically no concerns at this time, as the information given by this feature is the same as other features which currently exist, like the noscript element. *Web designer / developer use-cases: *Instead of having to use JavaScript to add a class when executed, or wrap styles in noscript elements, with the scripting media feature CSS can simply use a media query to detect JS being enabled/disabled. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/8d5c58d9-9f8a-4728-8e99-5b25d2ffbf84n%40mozilla.org.
