Closed Bug 1951861 Opened 9 months ago Closed 9 months ago

Tweak `grid-max-sizing-flex-006.html` and add a web-platform test

Categories

(Core :: Layout: Grid, task)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

(Whiteboard: [grid-percentages:m1], [wptsync upstream])

Attachments

(2 files)

This is a preparation towards fixing bug 1481876.

Tweak grid-max-sizing-flex-006.html and add a web-platform tests for 12.7. Expand Flexible Tracks. See the commit message in the patches for details.

This patch maintains the intent of the sub-test that validates the fractional
fr unit. However, the flex factor sum, which is used to be less than one, now
becomes greater than one. Therefore, I have distilled this sub-test into a
web-platform test in the next part to exercise the code path and the behavior
described in spec 12.7.1.2 [1].

[1] https://drafts.csswg.org/css-grid-2/#algo-find-fr-size

Both Chrome and Safari pass the test, while Firefox fails it currently. Firefox
is expected to pass it after Bug 1481876 is fixed.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Whiteboard: [grid-percentages:m1]
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1ab98d96d49e Part 1 - Adjust flexible track sizes in grid-max-sizing-flex-006.html to make the row sizes align with a quarter of a pixel. r=dholbert https://hg.mozilla.org/integration/autoland/rev/ef9f9062d724 Part 2 - Add a web-platform test for expanding flexible tracks with a fractional size. r=dholbert,layout-grid-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51180 for changes under testing/web-platform/tests
Whiteboard: [grid-percentages:m1] → [grid-percentages:m1], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: