As of Firefox 157, I intend to turn the* CSS at-rule() <https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@supports#at-rule> function for the @supports <https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@supports> at-rule *on by default on all platforms. This can also be used with the *CSS.supports() <https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports_static>* JavaScript method as well as in the *supports() <https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@import#supports-condition>* function of the *@import* <https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@import> at-rule. This was developed behind the *layout.css.supports.at-rule.enabled* preference.
This feature shipped in Blink since Chrome 148. The WebKit implementation is in progress and is currently previewing in Safari Technology Preview 251 <https://developer.apple.com/documentation/safari-technology-preview-release-notes/stp-release-251> . *Bugs:* - Bug 1751188 - Implement at-rule for use with @supports <https://bugzilla.mozilla.org/show_bug.cgi?id=1751188> - Bug 2060755 - Set layout.css.supports.at-rule.enabled for release (@supports at-rule()) <https://bugzilla.mozilla.org/show_bug.cgi?id=2060755> *Standard:* https://drafts.csswg.org/css-conditional-5/#funcdef-supports-at-rule *Intent to Prototype Thread:* https://groups.google.com/a/mozilla.org/g/dev-platform/c/rm53qxu-8xU/m/ZQAycjzeCgAJ -- 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 visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/f66c5ea1-4bb2-4b78-a6d4-c816f240f3d0n%40mozilla.org.
