Repository navigation
Enable the remaining anchor positioning properties behind a pref - #512
Merged
Loirooriol merged 1 commit intoNov 6, 2026
Merged
Conversation
anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand were Gecko-only. They already compile for Servo, so put them behind the pref that already gates position-area and position-try-fallbacks. Signed-off-by: Josef Guenther <[email protected]>
Loirooriol
approved these changes
Nov 6, 2026
Loirooriol
pushed a commit
that referenced
this pull request
Nov 9, 2026
This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref #492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Signed-off-by: Josef Guenther <[email protected]>
lando-worker Bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
Nov 11, 2026
…nd a pref. r=firefox-style-system-reviewers,emilio This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref servo/stylo#492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Imports servo/stylo#512 Differential Revision: https://phabricator.services.mozilla.com/D341406
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Nov 11, 2026
…nd a pref. r=firefox-style-system-reviewers,emilio This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref servo/stylo#492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Imports servo/stylo#512 Differential Revision: https://phabricator.services.mozilla.com/D341406 UltraBlame original commit: d0169ad35cc3f042395e28e70096c8572121ce50
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
Nov 11, 2026
…nd a pref. r=firefox-style-system-reviewers,emilio This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref servo/stylo#492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Imports servo/stylo#512 Differential Revision: https://phabricator.services.mozilla.com/D341406 UltraBlame original commit: d0169ad35cc3f042395e28e70096c8572121ce50
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Nov 11, 2026
…nd a pref. r=firefox-style-system-reviewers,emilio This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref servo/stylo#492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Imports servo/stylo#512 Differential Revision: https://phabricator.services.mozilla.com/D341406 UltraBlame original commit: d0169ad35cc3f042395e28e70096c8572121ce50
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 12, 2026
…nd a pref. r=firefox-style-system-reviewers,emilio This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref #492 already uses for position-area and position-try-fallbacks (`layout.css.anchor-positioning.enabled`), so the whole feature sits behind one pref, as it does in Gecko. They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko. Imports #512 Differential Revision: https://phabricator.services.mozilla.com/D341406
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enables the anchor positioning properties that are still Gecko-only: anchor-name, anchor-scope, position-anchor, position-try-order, position-visibility and the position-try shorthand. They go behind the pref #492 already uses for position-area and position-try-fallbacks (
layout.css.anchor-positioning.enabled), so the whole feature sits behind one pref, as it does in Gecko.They already compile for Servo, so apart from the gates the only change is removing a Gecko-only cfg on the position-try shorthand. Nothing changes for Gecko.