Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bad layout of CSS "flex" #919
Here are the Chrome screenshots that demonstrate intention for using vertical flex.
For all examples here file flexDemo.zip is used.
Next two screenshots are taken from Chrome. To get screenshot on the left class "vertFlex" should be removed from the HTML (from root div), so layout will be standard "block" (there is no need to remove "takeTheRestVertSpace" class from HTML because its parent is not "flex" so it will be ignored).
Below are screenshots which are created by using WeasyPrint Renderer (simple copy-paste from mentioned file). On the left class "vertFlex" is removed from root div, on the right "vertFlex" is put back.
Problem is reproduced by using Windows 10, Python 3.7.3 and WeasyPrint 48.