| Summary: | Release assert in RenderFlexibleBox::computeInnerFlexBaseSizeForChild via RenderFlexibleBox::layoutFlexItems | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||||
| Component: | Layout and Rendering | Assignee: | Rob Buis <rbuis> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bfulgham, cgarcia, darin, ews-feeder, fred.wang, gpoo, koivisto, product-security, rbuis, 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=226790 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ryosuke Niwa
2021-05-27 22:00:29 PDT
Needs a testcase :) Created attachment 429987 [details]
Test
(In reply to Rob Buis from comment #1) > Needs a testcase :) Oops, added. This seems related to width: intrinsic usage, will have a look. (In reply to Rob Buis from comment #4) > This seems related to width: intrinsic usage, will have a look. Huh, is that feature enabled on trunk? (In reply to Ryosuke Niwa from comment #5) > (In reply to Rob Buis from comment #4) > > This seems related to width: intrinsic usage, will have a look. > > Huh, is that feature enabled on trunk? I know very little about this keyword. So far I found it is listed as kind of an alias for max-content here: https://developer.mozilla.org/en-US/docs/Web/CSS/width However replacing intrinsic with max-content does not make the test crash, so it is not a pure alias. Created attachment 429998 [details]
Patch
Created attachment 430004 [details]
Patch
Committed r278275 (238312@main): <https://commits.webkit.org/238312@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430004 [details]. Comment on attachment 430004 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430004&action=review > Source/WebCore/rendering/RenderFlexibleBox.cpp:878 > + if (isColumnFlow() && (flexBasis.isIntrinsic() || flexBasis.type() == LengthType::Intrinsic)) Does the attached test case crash with LenghtType::MinIntrinsic. If so can we replaced this second part with flexBasis.isLegacyIntrinsic() ? |