Fix table sizing when 'max-width' is used

r143534 make <table> abide by 'max-width' all the time which is wrong.
Per the CSS specification, a table should be wide enough to fit its
content, regardless of 'max-width'.

r140479 fixed part of the regression from that change but made the
same fatal mistake by constraining min-content to fit 'max-width'.

The fix is to avoid constraining min-content and ensure that the table
logical width is at least its min-content size.

BUG=173966
TEST=fast/table/html-table-width-max-width-constrained.html

Review URL: https://chromiumcodereview.appspot.com/14141004

git-svn-id: svn://svn.chromium.org/blink/trunk@149011 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed