Repository navigation
Split layout.unimplemented into individual prefs. Align pref names with Gecko convention. - #492
Merged
Merged
Conversation
layout.unimplemented into individual pref. Align pref names with Gecko convention.layout.unimplemented into individual prefs. Align pref names with Gecko convention.
nicoburns
force-pushed
the
split-layout-unimplemented
branch
from
October 14, 2026 19:30
9dd4114 to
91b568a
Compare
Loirooriol
approved these changes
Oct 14, 2026
nicoburns
force-pushed
the
split-layout-unimplemented
branch
from
October 14, 2026 22:01
91b568a to
85cad2f
Compare
opensource-fork-sync Bot
pushed a commit
to cla7aye15I4nd/opensource-servo__servo
that referenced
this pull request
Oct 14, 2026
Servo PR for: - servo/stylo#492 Which replaces the `layout.unimplemented` prefs with individual prefs + renames a few prefs for consistency. Servo-side changes: - Servo pref renames to match Stylo pref renames - Remove servo `layout_unimplemented` pref - Add `layout_css_backdrop_filter_enabled` pref (it's used in a test) - New prefs that would be unused are *not* added on the servo side. Servo can add as and when it wants to actual enable them. - Update docs for servoshell's `-Z` CLI argument. Previously some now-removed prefs were documented as examples. But this argument doesn't accept prefs as value anyway! Updated with values that are valid. Testing: not needed, no behavior change Signed-off-by: Nico Burns <[email protected]>
This was referenced Nov 6, 2026
RichardTjokroutomo
pushed a commit
to RichardTjokroutomo/stylo
that referenced
this pull request
Nov 7, 2026
…vo#512) 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#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]>
Loirooriol
pushed a commit
that referenced
this pull request
Nov 9, 2026
…with Gecko convention. (#492) This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Servo PR: servo/servo#48915 | Pref | Additional properties | |---|---| | `layout.css.anchor-positioning.enabled` | `position-area`, `position-try-fallbacks` | | `layout.css.scroll-driven-animations.enabled` | `animation-timeline`, `animation-range-start`, `animation-range-end` | ### `layout.unimplemented` properties moved under new prefs | Pref | Properties affected | |---|---| | `layout.css.appearance.enabled` | `appearance` | | `layout.css.backdrop-filter.enabled` | `backdrop-filter` | | `layout.css.contain.enabled` | `contain` | | `layout.css.corner-shape.enabled` | `corner-{top-left,top-right,bottom-right,bottom-left,start-start,start-end,end-start,end-end}-shape`, `corner-shape`, `corner-{top,right,bottom,left,block-start,block-end,inline-start,inline-end}-shape` | | `layout.css.counters.enabled` | `counter-increment`, `counter-reset` | | `layout.css.font-size-adjust.enabled` | `font-size-adjust` | | `layout.css.forced-color-adjust.enabled` | `forced-color-adjust` | | `layout.css.masking.enabled` | `mask-image`, `mask-position-x`, `mask-position-y`, `mask-repeat`, `mask-size`, `mask-type`, `mask-mode`, `mask-clip`, `mask-origin`, `mask-composite`, `mask`, `mask-position` | | `layout.css.math-properties.enabled` | `math-depth`, `math-style` | | `layout.css.motion-path.enabled` | `offset-path` | | `layout.css.overscroll-behavior.enabled` | `overscroll-behavior-{x,y,block,inline}`, `overscroll-behavior` | | `layout.css.scroll-behavior.enabled` | `scroll-behavior` | | `layout.css.scrollbar-styling.enabled` | `scrollbar-color`, `scrollbar-width` | | `layout.css.text-decoration-inset.enabled` | `text-decoration-inset` | | `layout.css.text-overflow.enabled` | `text-overflow` | | `layout.css.text-underline.enabled` | `text-underline-offset`, `text-underline-position` | | `layout.css.view-transitions.enabled` | `view-transition-name`, `view-transition-class` | | `layout.css.writing-mode.text-orientation.enabled` | `text-orientation` | | `layout.css.zoom.enabled` | `zoom` | ### Renamed prefs | Old pref name | New pref name | | :--- | :--- | | `layout.columns.enabled` | `layout.css.columns.enabled` | | `layout.container-queries.enabled` | `layout.css.container-queries.enabled` | | `layout.variable_fonts.enabled` | `layout.css.font-variations.enabled` | | `layout.writing-mode.enabled` | `layout.css.writing-mode.enabled` | | `layout.writing-mode.sideways.enabled` | `layout.css.writing-mode.sideways.enabled` | | `layout.flexbox.balance` | `layout.css.flexbox-balance.enabled` |
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
…gn pref names with Gecko convention. r=firefox-style-system-reviewers,emilio This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Imports servo/stylo#492 Differential Revision: https://phabricator.services.mozilla.com/D341391
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
…gn pref names with Gecko convention. r=firefox-style-system-reviewers,emilio This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Imports servo/stylo#492 Differential Revision: https://phabricator.services.mozilla.com/D341391 UltraBlame original commit: 63a1648533d1060ec7c1989cb53b0ea7a5a2c89a
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
…gn pref names with Gecko convention. r=firefox-style-system-reviewers,emilio This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Imports servo/stylo#492 Differential Revision: https://phabricator.services.mozilla.com/D341391 UltraBlame original commit: 63a1648533d1060ec7c1989cb53b0ea7a5a2c89a
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
…gn pref names with Gecko convention. r=firefox-style-system-reviewers,emilio This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Imports servo/stylo#492 Differential Revision: https://phabricator.services.mozilla.com/D341391 UltraBlame original commit: 63a1648533d1060ec7c1989cb53b0ea7a5a2c89a
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
…gn pref names with Gecko convention. r=firefox-style-system-reviewers,emilio This PR makes two changes: - Splits the `layout.unimplemented` into individual prefs for groups of related properties - Renames some prefs (adds `.css` to them) to align with Gecko convention (other Servo prefs already followed this). Imports #492 Differential Revision: https://phabricator.services.mozilla.com/D341391
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
aphrody-dev
pushed a commit
to aphrody-labs/browser
that referenced
this pull request
Nov 16, 2026
Servo PR for: - servo/stylo#492 Which replaces the `layout.unimplemented` prefs with individual prefs + renames a few prefs for consistency. Servo-side changes: - Servo pref renames to match Stylo pref renames - Remove servo `layout_unimplemented` pref - Add `layout_css_backdrop_filter_enabled` pref (it's used in a test) - New prefs that would be unused are *not* added on the servo side. Servo can add as and when it wants to actual enable them. - Update docs for servoshell's `-Z` CLI argument. Previously some now-removed prefs were documented as examples. But this argument doesn't accept prefs as value anyway! Updated with values that are valid. Testing: not needed, no behavior change Signed-off-by: Nico Burns <[email protected]>
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 PR makes two changes:
layout.unimplementedinto individual prefs for groups of related properties.cssto them) to align with Gecko convention (other Servo prefs already followed this).Servo PR: servo/servo#48915
layout.unimplementedproperties moved under existing prefslayout.css.anchor-positioning.enabledposition-area,position-try-fallbackslayout.css.scroll-driven-animations.enabledanimation-timeline,animation-range-start,animation-range-endlayout.unimplementedproperties moved under new prefslayout.css.appearance.enabledappearancelayout.css.backdrop-filter.enabledbackdrop-filterlayout.css.contain.enabledcontainlayout.css.corner-shape.enabledcorner-{top-left,top-right,bottom-right,bottom-left,start-start,start-end,end-start,end-end}-shape,corner-shape,corner-{top,right,bottom,left,block-start,block-end,inline-start,inline-end}-shapelayout.css.counters.enabledcounter-increment,counter-resetlayout.css.font-size-adjust.enabledfont-size-adjustlayout.css.forced-color-adjust.enabledforced-color-adjustlayout.css.masking.enabledmask-image,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,mask-mode,mask-clip,mask-origin,mask-composite,mask,mask-positionlayout.css.math-properties.enabledmath-depth,math-stylelayout.css.motion-path.enabledoffset-pathlayout.css.overscroll-behavior.enabledoverscroll-behavior-{x,y,block,inline},overscroll-behaviorlayout.css.scroll-behavior.enabledscroll-behaviorlayout.css.scrollbar-styling.enabledscrollbar-color,scrollbar-widthlayout.css.text-decoration-inset.enabledtext-decoration-insetlayout.css.text-overflow.enabledtext-overflowlayout.css.text-underline.enabledtext-underline-offset,text-underline-positionlayout.css.view-transitions.enabledview-transition-name,view-transition-classlayout.css.writing-mode.text-orientation.enabledtext-orientationlayout.css.zoom.enabledzoomRenamed prefs
layout.columns.enabledlayout.css.columns.enabledlayout.container-queries.enabledlayout.css.container-queries.enabledlayout.variable_fonts.enabledlayout.css.font-variations.enabledlayout.writing-mode.enabledlayout.css.writing-mode.enabledlayout.writing-mode.sideways.enabledlayout.css.writing-mode.sideways.enabledlayout.flexbox.balancelayout.css.flexbox-balance.enabled