Bug 107334 - [wk2] Intrinsic content size should report a flexible width if the content is not wider than the minimum layout width
Summary: [wk2] Intrinsic content size should report a flexible width if the content is...
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-18 15:31 PST by Tim Horton
Modified: 2013-01-18 18:14 PST (History)
3 users (show)

See Also:


Attachments
patch (3.90 KB, patch)
2013-01-18 15:46 PST, Tim Horton
andersca: 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-18 15:31:26 PST
If the laid-out width of the content is <= the minimum layout width, that means that the content is flexible and we can inform autolayout of this.

If it's > the minimum layout width, that means that the content has reached its own "intrinsic" minimum width and we need to inform autolayout that we need more space.

<rdar://problem/12960009>
Comment 1 Tim Horton 2013-01-18 15:46:26 PST
Created attachment 183563 [details]
patch
Comment 2 Tim Horton 2013-01-18 18:14:05 PST
http://trac.webkit.org/changeset/140228