Bug 84260

Summary: REGRESSION(102040): Auto-table layout with percent width doesn't shrink-to-fit content a cell with colspan
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: TablesAssignee: Julien Chaffraix <jchaffraix>
Status: RESOLVED FIXED    
Severity: Normal CC: ojan, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Propsed patch 1: Account for allocated min / max cell's logical width. none

Description Julien Chaffraix 2012-04-18 11:32:06 PDT
This is an unexpected change of bug 34758. Bug 34758 made us abide by percent width when there are only percent columns on a colspan.

The bug is simple and stems from the fact that we are setting the min / max effective column width but forget to update the cell's min / max (remaining) logical width like the rest of the code.

Patch and test case to follow shortly.
Comment 1 Julien Chaffraix 2012-04-18 11:56:00 PDT
Created attachment 137735 [details]
Propsed patch 1: Account for allocated min / max cell's logical width.
Comment 2 WebKit Review Bot 2012-04-18 16:08:11 PDT
Comment on attachment 137735 [details]
Propsed patch 1: Account for allocated min / max cell's logical width.

Clearing flags on attachment: 137735

Committed r114574: <http://trac.webkit.org/changeset/114574>
Comment 3 WebKit Review Bot 2012-04-18 16:08:17 PDT
All reviewed patches have been landed.  Closing bug.