Bug 108056 - [wk2] WKView's intrinsicContentSize should only report a flexible width if the content width is less than the minimum width
Summary: [wk2] WKView's intrinsicContentSize should only report a flexible width if th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-01-28 00:00 PST by Tim Horton
Modified: 2013-01-28 13:39 PST (History)
3 users (show)

See Also:


Attachments
patch (2.26 KB, patch)
2013-01-28 00:02 PST, Tim Horton
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2013-01-28 00:00:18 PST
Right now, we're returning flexible width if content size is less than *or equal* to the minimum layout width. This is wrong and causes ping-ponging between flexible and inflexible intrinsic content width in cases where autolayout fits our view to exactly the intrinsic content size.

<rdar://problem/13066798>
Comment 1 Tim Horton 2013-01-28 00:02:20 PST
Created attachment 184942 [details]
patch
Comment 2 Tim Horton 2013-01-28 13:39:24 PST
http://trac.webkit.org/changeset/141003