Re: [csswg-drafts] [css-grid] Stretching tracks fails to feed back into sizing algorithm

The CSS Working Group just discussed `Stretching tracks fails to feed back into sizing algorithm`, and agreed to the following resolutions:

* `RESOLVED: integrate stretching into track sizing algo`

<details><summary>The full IRC log of that discussion</summary>
&lt;dauwhe> Topic: Stretching tracks fails to feed back into sizing algorithm<br>
&lt;astearns> github: https://github.com/w3c/csswg-drafts/issues/1150<br>
&lt;dauwhe> fantasai: the issue here is that the stretch alignment property takes effect<br>
&lt;dauwhe> ... at the end of the algo<br>
&lt;dauwhe> ... you size the cols, then use size of cols to set height of rows<br>
&lt;dauwhe> ... at the end you do alignment<br>
&lt;dauwhe> ... that's generally fine<br>
&lt;dauwhe> ... cause alignment don't change track sizes<br>
&lt;dauwhe> ... but stretch does<br>
&lt;dauwhe> ... if you start with this example, you have image with intrinsic size, col sizes to intrinsic size, then try to size the rows<br>
&lt;dauwhe> ... and we use the size of the columns because there's an aspect ratio<br>
&lt;dauwhe> ... and now the item that's 100% wide fills the track in that axis, but then overflows the row<br>
&lt;dauwhe> ... the suggestion is that the stretching phase should be accounted for in the sizing algo<br>
&lt;dauwhe> TabAtkins: makes sense<br>
&lt;dauwhe> fantasai: we'll try to incorporate this into the algo, then will bring to group for review<br>
&lt;dauwhe> TabAtkins: is auto track and stretch distro the only thing that does this?<br>
&lt;dauwhe> fantasai: yes<br>
&lt;dauwhe> TabAtkins: then this makes total sense<br>
&lt;dauwhe> fantasai: the proposal is to handle the streching at each phase of stretch sizing<br>
&lt;dauwhe> astearns: would it make sense to have a note in align?<br>
&lt;dauwhe> fantasai: flex already has this<br>
&lt;fantasai> s/this/this kind of integration/<br>
&lt;dauwhe> Rossen: stretching and last baseline tend to have feedback back into the layout algo<br>
&lt;fantasai> astearns: Yeah, so should have a note pointing to the appropriate section of grid/flex<br>
&lt;dauwhe> RESOLVED: integrate stretching into track sizing algo<br>
&lt;dauwhe> fantasai: ONE MORE THING<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1150#issuecomment-320246960 using your GitHub account

Received on Friday, 4 August 2017 13:20:04 UTC