border-box
-sized flex container with flex-direction "column" grows taller than it should
#2053
Labels
bug
Existing features not working as expected
In the following example, the flex container is rendered taller than wider by WeasyPrint, whereas browsers show it as a perfect square (per
width: 20rem
,height: 20rem
andbox-sizing: border-box
).It appears to be related to the way vertical padding is factored into the box's dimensions. This does not happen with
flex-direction: row
, where the dimensions are calculated correctly and the box ends up being square.The text was updated successfully, but these errors were encountered: