Enable anchor positioning pref (layout.css.anchor-positioning.enabled) by default on Nightly
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: dholbert, Assigned: jwatt)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
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•4 months 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•4 months ago
|
||
Updated•4 months ago
|
Comment 5•4 months 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•4 months 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•4 months ago
|
||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
Comment 11•4 months 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•4 months 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
Comment 13•3 months ago
|
||
MDN changes can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/41510
Updated•3 months ago
|
Comment 14•2 months ago
|
||
Removed from the Nightly release notes.
This is riding the train to release tracked under Bug 1988225
Description
•