NEW 232667
[css-grid] Apply content alignment to row estimation in step 1
https://bugs.webkit.org/show_bug.cgi?id=232667
Summary [css-grid] Apply content alignment to row estimation in step 1
zsun
Reported 2021-11-03 07:29:06 PDT
... when all rows have a definite max track sizing function, and the container has a definite block-size.
Attachments
Patch (5.88 KB, patch)
2021-11-03 07:43 PDT, zsun
no flags
Patch (5.88 KB, patch)
2021-11-09 05:38 PST, zsun
no flags
Patch (6.01 KB, text/plain)
2022-01-10 10:24 PST, zsun
ews-feeder: commit-queue-
zsun
Comment 1 2021-11-03 07:43:39 PDT
zsun
Comment 2 2021-11-09 05:38:03 PST
Radar WebKit Bug Importer
Comment 3 2021-11-10 06:30:23 PST
zsun
Comment 4 2022-01-10 10:24:44 PST
Darin Adler
Comment 5 2022-01-10 14:34:11 PST
Comment on attachment 448768 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448768&action=review > Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp:1196 > + if ((rawTrackSize.minTrackBreadth().isLength() && rawTrackSize.minTrackBreadth().length().isSpecified()) && rawTrackSize.hasFixedMaxTrackBreadth() && rawTrackSize.minTrackBreadth().length() == rawTrackSize.maxTrackBreadth().length()) Seems like we should have a way to do == on two GridLength without calling length() twice.
zsun
Comment 6 2022-05-13 03:07:07 PDT
Affected test css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-002.html The submitted patch doesn't seem fixing the test failure. It seems passing with this patch in my local(GTK) run though. Please feel free to take this bug as I can't foresee that I would have time on it in a short while.
Note You need to log in before you can comment on or make changes to this bug.