Re: [csswg-drafts] [css-grid] Applying 'justify-content' content distribution is in the wrong place in the overall grid sizing algo

The new changes indeed solve cases like the one @mrego described, thanks to the Step 3, as you mentioned. However, in case of chrome and webkit implementation it only works like that when the grid container has definite inline size. 

Perhaps this is an implementation detail, but we only run step 1 of the algorithm in order to determine the preferred width. Once set, we use this preferred width during the layout, so we can't then change it if Step 3 gives a different result for the columns. 

-- 
GitHub Notification of comment by javifernandez
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2557#issuecomment-391022541 using your GitHub account

Received on Tuesday, 22 May 2018 14:58:01 UTC