| Summary: | [css-flexbox] ChildIntrinsicLogicalWidth should use fit-content, not max-content | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||||
| Component: | CSS | Assignee: | Sergio Villar Senin <svillar> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | changseok, esprehn+autocc, ews-watchlist, glenn, jfernandez, kondapallykalyan, pdr, rego, simon.fraser, svillar, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=210103 https://bugs.chromium.org/p/chromium/issues/detail?id=876749 |
||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 209871 | ||||||||
| Attachments: |
|
||||||||
|
Description
Carlos Alberto Lopez Perez
2020-04-13 16:08:29 PDT
Created attachment 400754 [details]
Patch
Comment on attachment 400754 [details]
Patch
r=me
Comment on attachment 400754 [details]
Patch
The change looks good, but tt seems that the patch causes some regression in other flexbox related tests.
(In reply to Javier Fernandez from comment #3) > Comment on attachment 400754 [details] > Patch > > The change looks good, but tt seems that the patch causes some regression in > other flexbox related tests. imported/w3c/web-platform-tests/css/css-flexbox/flexbox_width-wrapping-column.html Comment on attachment 400754 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400754&action=review Uploading a new version now > Source/WebCore/rendering/RenderFlexibleBox.cpp:472 > + std::min(child.maxPreferredLogicalWidth(), std::max(child.minPreferredLogicalWidth(), contentLogicalWidth())); Cannot believe I forgot the return.... Created attachment 400800 [details]
Patch
Committed r262411: <https://trac.webkit.org/changeset/262411> |