[css-sizing] It's false that height: stretch
behaves as stretch
alignment
#11784
Labels
height: stretch
behaves as stretch
alignment
#11784
https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing
We have interoperability against this:
Gecko, Blink and WebKit agree:
height: stretch
stretches against the containing block, whilealign-self: stretch
doesn't stretch.height: stretch
keeps stretching against the containing block, whilealign-self: stretch
stretches against the line.If the flex container doesn't have a definite height (remove
height: 100px
):Gecko and Blink don't stretch
height: stretch
, neither when computing line sizes nor once we know their size.align-self
stretches in the latter one:WebKit does that thing of stretching all ancestors with indefinite size, in this case filling the window:
The text was updated successfully, but these errors were encountered: