Bug 125883

Summary: Need to set preferred logical widths dirty bits when switching table layout
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bdakin, dino, hyatt, jchaffraix, simon.fraser, thorton
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Ryosuke Niwa 2013-12-17 16:30:15 PST
Consider merging https://src.chromium.org/viewvc/blink?revision=160530&view=revision
with https://chromium.googlesource.com/chromium/blink/+/91c17eddc1857827f0afd0215cf202677e322739

FixedTableLayout doesn't use the preferred logical widths from its cells to
determine column widths, however it still need to clear the dirty bits to
get notification when style.width changes on the cells.

When a table switches from table-layout:fixed to auto, the preferred logical
widths become meaningful. The dirty value will be used if we cleared the
dirty bit without computing it.

In this patch we do a massive invalidation to the preferred widths on the
cells when table layout has changed.