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

Description zalan 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.
Comment 1 Radar WebKit Bug Importer 2020-01-22 09:10:55 PST
<rdar://problem/58798593>
Comment 2 zalan 2020-01-22 09:21:31 PST
Created attachment 388429 [details]
Patch
Comment 3 WebKit Commit Bot 2020-01-22 10:31:10 PST Comment hidden (obsolete)
Comment 4 zalan 2020-01-22 10:39:36 PST
Created attachment 388437 [details]
Patch
Comment 5 WebKit Commit Bot 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>
Comment 6 WebKit Commit Bot 2020-01-22 11:46:06 PST
All reviewed patches have been landed.  Closing bug.