DescriptionFix 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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149011
Patch Set 1 #
Total comments: 3
Patch Set 2 : Updated the test to use Ahem for consistency across platforms #
Messages
Total messages: 7 (0 generated)
|