| Summary: | [LFC][Out-of-flow] FormattingContext::computeOutOfFlowHorizontalGeometry needs verticalConstraints | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, dino, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
zalan
2020-02-16 20:36:02 PST
Created attachment 390898 [details]
Patch
Comment on attachment 390898 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390898&action=review > Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp:286 > + contentWidthAndMargin = geometry().inlineReplacedWidthAndMargin(downcast<ReplacedBox>(layoutBox), horizontalConstraints, { }, usedWidth); Shouldn't the {}s be nullopts? Comment on attachment 390898 [details] Patch Clearing flags on attachment: 390898 Committed r256760: <https://trac.webkit.org/changeset/256760> All reviewed patches have been landed. Closing bug. (In reply to Dean Jackson from comment #3) > Comment on attachment 390898 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=390898&action=review > > > Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp:286 > > + contentWidthAndMargin = geometry().inlineReplacedWidthAndMargin(downcast<ReplacedBox>(layoutBox), horizontalConstraints, { }, usedWidth); > > Shouldn't the {}s be nullopts? {} is nullopt when the type is WTF::Optional. |