Closed Bug 2080580 Opened 1 month ago Closed 1 month ago

Stylo: implement the `fit-tolerance` property

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: nico, Assigned: nico)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Add the css-grid-3 fit-tolerance property (normal | <length-percentage [0,∞]> | infinite, with flow-tolerance as an alias for its previous name) in preparation for / as part of implementing css-grid-3 (Grid Lanes)

Intentionally enabled for both Gecko and Servo builds. Feature flagged behind the layout.css.display-grid-lanes.enabled preference in both cases.

Spec: https://drafts.csswg.org/css-grid-3/#fit-tolerance

Blocks: grid-lanes

Import the property from Servo's Stylo, with flow-tolerance as an alias for its
previous name, and enable it for Gecko too.

It lives in nsStyleDisplay for now, as nsStylePosition does not have room for it
under the style struct size limit.

Assignee: nobody → nico
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0083473b8ea0 https://hg.mozilla.org/integration/autoland/rev/13830bf0f66a Add the fit-tolerance property behind the grid-lanes pref. r=firefox-style-system-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: