Bug 217402

Summary: [LFC][BFC] Move document box special height computation out of contentHeightForFormattingContextRoot
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 2020-10-06 13:21:53 PDT
it's not a formatting context root
Comment 1 zalan 2020-10-06 13:24:41 PDT
Created attachment 410687 [details]
Patch
Comment 2 Simon Fraser (smfr) 2020-10-06 14:17:50 PDT
Comment on attachment 410687 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=410687&action=review

> Source/WebCore/layout/FormattingContextGeometry.cpp:826
> +        else if (layoutBox.isDocumentBox() && !layoutBox.establishesFormattingContext()) {

isDocumentElementBox
Comment 3 zalan 2020-10-06 14:40:15 PDT
(In reply to Simon Fraser (smfr) from comment #2)
> Comment on attachment 410687 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=410687&action=review
> 
> > Source/WebCore/layout/FormattingContextGeometry.cpp:826
> > +        else if (layoutBox.isDocumentBox() && !layoutBox.establishesFormattingContext()) {
> 
> isDocumentElementBox
Make sense. Will rename it in a separate patch.
Comment 4 EWS 2020-10-06 16:00:02 PDT
Committed r268082: <https://trac.webkit.org/changeset/268082>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410687 [details].
Comment 5 Radar WebKit Bug Importer 2020-10-06 16:01:19 PDT
<rdar://problem/70021597>