Bug 206581 - [LFC] Do not create a FormattingContext to compute intrinsic width unless there's some content.
Summary: [LFC] Do not create a FormattingContext to compute intrinsic width unless the...
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: 2020-01-22 08:07 PST by zalan
Modified: 2020-01-22 11:46 PST (History)
6 users (show)

See Also:


Attachments
Patch (5.34 KB, patch)
2020-01-22 09:21 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (5.34 KB, patch)
2020-01-22 10:39 PST, 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 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.