Closed Bug 1988224 Opened 25 days ago Closed 10 days ago

Enable anchor positioning pref (layout.css.anchor-positioning.enabled) by default on Nightly

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
relnote-firefox --- nightly+
firefox145 --- fixed

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.)

Blocks: 1988225

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

relnote-firefox: --- → ?
Keywords: dev-doc-needed
Assignee: nobody → mozmail
Status: NEW → ASSIGNED
Pushed by jwatt@jwatt.org: https://github.com/mozilla-firefox/firefox/commit/693bae3ddb6a https://hg.mozilla.org/integration/autoland/rev/3a515fea615c Enable anchor positioning pref by default on Nightly. r=dshin,layout-reviewers
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/27fa9dbeb3dc https://hg.mozilla.org/integration/autoland/rev/2825f78f0370 Revert "Bug 1988224. Enable anchor positioning pref by default on Nightly. r=dshin,layout-reviewers" for causing anchor related wpt failures.

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.

Flags: needinfo?(mozmail)

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.

Flags: needinfo?(mozmail)
Pushed by jwatt@jwatt.org: https://github.com/mozilla-firefox/firefox/commit/613f76a02842 https://hg.mozilla.org/integration/autoland/rev/061d3612121c Enable anchor positioning pref by default on Nightly. r=dshin,layout-reviewers
Attachment #9516501 - Attachment description: Bug 1988224. Test changes for anchor positioning pref enabling. r=dshin → Bug 1988224 - Test changes for anchor positioning pref enabling. r=dshin
Regressions: 1991271
Regressions: 1991274

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

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

Attachment

General

Created:
Updated:
Size: