File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2525,13 +2525,8 @@ <h2 id=alignment><span class=secno>7. </span> Alignment</h2>
25252525 symmetric for both the width and height of the < a
25262526 href ="#grid-item "> < i > Grid item</ i > </ a > .
25272527
2528- < p class =issue > The preceding paragraph seems inconsistent with Flexbox. In
2529- Flexbox, auto margins effectively "turn off" stretch entirely, so
2530- underflowing items get aligned per the margins and overflowing items
2531- overflow the line (rather than being shrunk to the size of the line). In
2532- the preceding paragraph, it seems that stretched grid items will always
2533- grow/shrink to the size of the grid area regardless of margins. I believe
2534- we want the Flexbox behavior.
2528+ < p class =issue > Rewrite this section to make sure that auto margins vs
2529+ alignment work the same as in Flexbox - auto margins win.
25352530
25362531 < h3 id =auto-margins > < span class =secno > 7.1. </ span > Aligning with ‘< a
25372532 href ="#track-size-auto "> < code class =css > auto</ code > </ a > ’ margins</ h3 >
Original file line number Diff line number Diff line change @@ -1972,15 +1972,7 @@ <h2 id='alignment'>
19721972 of the < i > Grid item</ i > .
19731973
19741974 < p class ='issue '>
1975- The preceding paragraph seems inconsistent with Flexbox.
1976- In Flexbox, auto margins effectively "turn off" stretch entirely,
1977- so underflowing items get aligned per the margins
1978- and overflowing items overflow the line
1979- (rather than being shrunk to the size of the line).
1980- In the preceding paragraph,
1981- it seems that stretched grid items will always grow/shrink to the size of the grid area
1982- regardless of margins.
1983- I believe we want the Flexbox behavior.
1975+ Rewrite this section to make sure that auto margins vs alignment work the same as in Flexbox - auto margins win.
19841976
19851977
19861978< h3 id ='auto-margins '>
You can’t perform that action at this time.
0 commit comments