Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-flexbox] incorrect layout with max-height and flex-direction col… #49219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pgorszkowski-igalia
Copy link
Contributor

…umn and justify-content center

Safarii/WebKitGTK currently makes this flex item 200px tall. Firefox and Chrome give it the correct height of 100px.

WebKit does not adjust the inner flex size to the max size specified in the outer flex container.

After calculation of the flex item size and adjusting it to min/max size of the flex item WebKit should also check how the calculated size corresponds to specified max size of the whole container. In case the adjusted flex item size is bigger than the max size of the whole container WebKit should use the flex item size calculated before adjusting to flex item min/max size.

…umn and justify-content center

Safarii/WebKitGTK currently makes this flex item 200px tall. Firefox and
Chrome give it the correct height of 100px.

WebKit does not adjust the inner flex size to the max size specified
in the outer flex container.

After calculation of the flex item size and adjusting it to min/max size
of the flex item WebKit should also check how the calculated size
corresponds to specified max size of the whole container. In case the
adjusted flex item size is bigger than the max size of the whole
container WebKit should use the flex item size calculated before adjusting
to flex item min/max size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants