Bug 206581

Summary: [LFC] Do not create a FormattingContext to compute intrinsic width unless there's some content.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

zalan
Reported 2020-01-22 08:07:58 PST
Currently we construct FCs to compute the intrinsic width even when the root has no content (and we end up returning an empty IntrinsicWidthConstraints.
Attachments
Patch (5.34 KB, patch)
2020-01-22 09:21 PST, zalan
no flags
Patch (5.34 KB, patch)
2020-01-22 10:39 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2020-01-22 09:10:55 PST
zalan
Comment 2 2020-01-22 09:21:31 PST
WebKit Commit Bot
Comment 3 2020-01-22 10:31:10 PST Comment hidden (obsolete)
zalan
Comment 4 2020-01-22 10:39:36 PST
WebKit Commit Bot
Comment 5 2020-01-22 11:46:04 PST
Comment on attachment 388437 [details] Patch Clearing flags on attachment: 388437 Committed r254933: <https://trac.webkit.org/changeset/254933>
WebKit Commit Bot
Comment 6 2020-01-22 11:46:06 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.