Bug 218736

Summary: [LFC Display] A ContainerBox can establish an inline formatting context and have box children
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, sam, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Simon Fraser (smfr)
Reported 2020-11-09 19:31:30 PST
[LFC Display] A ContainerBox can have establish and inline formatting context and have box children
Attachments
Patch (1.75 KB, patch)
2020-11-09 19:32 PST, Simon Fraser (smfr)
no flags
Patch (2.58 KB, patch)
2020-11-27 09:32 PST, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2020-11-09 19:32:26 PST
zalan
Comment 2 2020-11-09 19:34:43 PST
Comment on attachment 413656 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413656&action=review > Source/WebCore/ChangeLog:3 > + [LFC Display] A ContainerBox can have establish and inline formatting context and have box children :)
Radar WebKit Bug Importer
Comment 3 2020-11-16 19:32:15 PST
Simon Fraser (smfr)
Comment 4 2020-11-27 09:32:19 PST
Simon Fraser (smfr)
Comment 5 2020-11-27 09:46:58 PST
Sam Weinig
Comment 6 2020-11-28 11:51:09 PST
Comment on attachment 414951 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414951&action=review > Source/WebCore/display/DisplayTreeBuilder.cpp:157 > + switch (boxInclusion) { > + case DescendantBoxInclusion::AllBoxes: return true; > + case DescendantBoxInclusion::OutOfFlowOnly: return !box.isInFlow(); > + } Not a fan of this one line style. Can you move the returns to their own line. > Source/WebCore/display/DisplayTreeBuilder.cpp:158 > + return false; There can probably a be an ASSERT_NOT_REACHED here for good measure.
Sam Weinig
Comment 7 2020-11-28 11:51:23 PST
Should this still be up for review?
Note You need to log in before you can comment on or make changes to this bug.