Enable anchor positioning pref (layout.css.anchor-positioning.enabled) by default on Nightly
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: dholbert, Assigned: jwatt)
References
(Blocks 3 open bugs, Regressed 2 open bugs)
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
Filing this bug on setting layout.css.anchor-positioning.enabled
to true
on Nightly (or perhaps nightly-and-early-beta).
(We can use the dependency field to track [some of] the work that must happen before we can do this. Though also I think this work is tracked via [anchorpositioning:m
whiteboard-field-contents, and maybe it's not worth trying to get those milestones to be perfectly reflected/mirrored in the dependency field of this bug.)
Comment 1•25 days ago
|
||
Once the pref is flipped, this should be added to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features, the related BCD, and the release notes on MDN and the general release notes.
[Why is this notable]: Feature CSS authors were requesting for a long time and part of Interop 2025.
[Affects Firefox for Android]: yes
[Suggested wording]: Starting with Firefox x, Nightly builds now support CSS anchor positioning, which allows to tether elements together. The anchor-positioned elements can then have their size and position set relative to the size and location of the anchor elements to which they are bound.
[Links (documentation, blog post, etc)]:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_anchor_positioning/Using
![]() |
Assignee | |
Comment 2•11 days ago
|
||
Updated•11 days ago
|
Comment 5•11 days ago
|
||
Reverted this because it was causing anchor related wpt failures.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-anchor-display-none.tentative.html | Tests that a popover can be anchored to an unrendered element. - expected FAIL
Also, please check these mochitests failures.
![]() |
Assignee | |
Comment 6•10 days ago
|
||
I used separate bugs to fix the random tests in some unexpected places that didn't have the pref enabled for some reason. I'll reland in a few hours if the landings for bug 1924086 look like they're going to stick.
![]() |
Assignee | |
Comment 8•10 days ago
|
||
Updated•10 days ago
|
Comment 10•10 days ago
|
||
Comment 11•10 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/061d3612121c
https://hg.mozilla.org/mozilla-central/rev/2b58d75df02a
https://hg.mozilla.org/mozilla-central/rev/6339c06cd01d
https://hg.mozilla.org/mozilla-central/rev/c7991781a1dc
Comment 12•7 days ago
|
||
Note added to our Nightly release notes with this wording:
Starting with Firefox 145, Nightly builds now support CSS anchor positioning, which allows to tether elements together. The anchor-positioned elements can then have their size and position set relative to the size and location of the anchor elements to which they are bound.
Thanks
Description
•