[css-flexbox] incorrect layout with max-height and flex-direction column and justify-content center#35859
Open
Conversation
Collaborator
|
EWS run on previous version of this PR (hash ebca6b1) Details |
ebca6b1 to
a7e7723
Compare
Collaborator
|
EWS run on previous version of this PR (hash a7e7723) Details |
a7e7723 to
c6bea82
Compare
Collaborator
|
EWS run on previous version of this PR (hash c6bea82) Details |
c6bea82 to
c84db3b
Compare
Collaborator
|
EWS run on previous version of this PR (hash c84db3b) Details |
Contributor
|
As a general comment would it be possible to have a WPT test instead? |
Contributor
Author
good point, I will create the test also on WPT |
Contributor
Author
The PR with test on WPT is under review: web-platform-tests/wpt#49219 |
…umn and justify-content center https://bugs.webkit.org/show_bug.cgi?id=282036 Reviewed by NOBODY (OOPS!). After calculation of the flex item size and adjusting it to min/max size of the flex item we 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 we should use the flex item size calculated before adjusting to flex item min/max size. * Source/WebCore/rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::resolveFlexibleLengths):
c84db3b to
59a2273
Compare
Collaborator
|
EWS run on current version of this PR (hash 59a2273) Details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ebca6b1bdd254c8a39d39ad9e651345b623fbc92
59a2273