[wk2] WKView's intrinsicContentSize should only report a flexible width if the content width is less than the minimum width
https://bugs.webkit.org/show_bug.cgi?id=108056

Reviewed by Simon Fraser.

We're currently reporting a flexible width if the intrinsic
content size is less than *or equal* to the minimum layout
width. This is wrong and causes ping-ponging between flexible
and inflexible width in cases where autolayout fits our
view to exactly the intrinsic content size. It should be strictly
less than instead.

* UIProcess/API/mac/WKView.mm:
(-[WKView _setIntrinsicContentSize:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed