Bug 125883 - Need to set preferred logical widths dirty bits when switching table layout
Summary: Need to set preferred logical widths dirty bits when switching table layout
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-12-17 16:30 PST by Ryosuke Niwa
Modified: 2013-12-17 16:30 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.