Description[CSS Grid Layout] Size tracks using a list of all items sorted by span
RenderGrid::resolveContentBasedTrackSizingFunctions() was not spec
compliant because it used to compute content-based track sizes going
track-by-track. The specs clearly specify that instead, we should collect
all items spanning content-sized tracks and process them one by one after
sorting them by ascending span.
The obvious issue in the old implementation is that a grid item spanning the
first track was always processed before a non spanning item in the second
track. That leads to weird track size computations.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183657
Patch Set 1 #
Total comments: 17
Patch Set 2 : Addressed reviewer's comments #
Total comments: 4
Patch Set 3 : Patch for landing #Patch Set 4 : Patch for landing v2 #
Messages
Total messages: 19 (4 generated)
|