Closed Bug 2030645 Opened 27 days ago Closed 21 days ago

Enable container style queries on all channels

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
relnote-firefox --- ?
firefox151 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

We've had the container style queries pref enabled on Nightly since v149 (bug 2014404), while working on making the implementation more complete. I think we're at a point now where it would be reasonable to enable the feature for all channels, and let it ride the train to release.

On the interop-2026 subset of tests, we are currently showing 97.2% on wpt.fyi, which is a slightly higher pass rate than any of the other browsers. The only outstanding issues there are a test that involves CSS attr() (not yet enabled by default, but will pass when we pref on that feature), and an invalidation-related test involving rem units (see bug 2024049).

There are additional issues related to invalidation (e.g. bug 2028142), but other browsers also fail to handle this (along with other cases such as re-matching during animations), so I don't think this should block an initial "MVP" release.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/396795ad823e https://hg.mozilla.org/integration/autoland/rev/3d33ef274c71 Enable container style queries on all channels. r=firefox-style-system-reviewers,emilio
Keywords: dev-doc-needed
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

[Why is this notable]: New CSS feature
[Affects Firefox for Android]: yes
[Suggested wording]: Container style queries are now supported allowing to apply styles to an element based on the computed values of custom properties of their container. This can be done by using one or more style() functions inside @container rules.
[Links (documentation, blog post, etc)]:
https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment/Container_size_and_style_queries
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@container#container_style_queries

relnote-firefox: --- → ?

Thanks, added to the Fx151 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx151 release notes.

QA Whiteboard: [qa-triage-done-c152/b151]

Related Pull Requests

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: