Bug 201766 - [LFC] Do not create FormattingContext unless the root has child boxes.
Summary: [LFC] Do not create FormattingContext unless the root has child boxes.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-13 10:45 PDT by zalan
Modified: 2019-09-13 12:15 PDT (History)
6 users (show)

See Also:


Attachments
Patch (52.34 KB, patch)
2019-09-13 11:08 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2019-09-13 10:45:34 PDT
There's no need for that. FormattingContexts are responsible to layout child content.
Comment 1 Radar WebKit Bug Importer 2019-09-13 10:46:01 PDT
<rdar://problem/55344449>
Comment 2 zalan 2019-09-13 11:08:49 PDT
Created attachment 378738 [details]
Patch
Comment 3 Antti Koivisto 2019-09-13 11:13:13 PDT
Comment on attachment 378738 [details]
Patch

Nice
Comment 4 WebKit Commit Bot 2019-09-13 12:15:55 PDT
Comment on attachment 378738 [details]
Patch

Clearing flags on attachment: 378738

Committed r249849: <https://trac.webkit.org/changeset/249849>
Comment 5 WebKit Commit Bot 2019-09-13 12:15:57 PDT
All reviewed patches have been landed.  Closing bug.