Chromium Code Reviews
Description[CSSGridLayout] Pass the valid tracks for |tracksForGrowAboveMaxBreadth|
Section 10.4 of the specs describe how to resolve content based track sizing
functions. Among others it describes the "distribute extra space" algorithm.
The 3rd bullet of that algorithm specifies how to distribute (and also in which
subset of tracks) the extra space once all the tracks have reached their grow
limits.
Our implementation had 2 problems. First we were not passing a valid subset of
tracks (instead we were using all of them). Secondly the algorithm that was
distributing the extra space was not using that list of passed in tracks,
instead it was using all of them.
Now we use a function that filters the right tracks to be the target of the
extra space distribution depending on whether we're computing the min track
function or max track function.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184181
Patch Set 1 #
Total comments: 10
Patch Set 2 : Patch for landing #Patch Set 3 : Build fixes #
Messages
Total messages: 23 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||