Bug 106931 - Table layout does not need to explicitly call computePreferredLogicalWidths
Summary: Table layout does not need to explicitly call computePreferredLogicalWidths
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ojan Vafai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 11:32 PST by Ojan Vafai
Modified: 2013-01-17 14:42 PST (History)
7 users (show)

See Also:


Attachments
Patch (7.56 KB, patch)
2013-01-15 11:35 PST, Ojan Vafai
no flags Details | Formatted Diff | Diff
Patch for landing (8.23 KB, patch)
2013-01-17 12:18 PST, Ojan Vafai
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2013-01-15 11:32:06 PST
Table layout does not need to explicitly call computePreferredLogicalWidths
Comment 1 Ojan Vafai 2013-01-15 11:35:46 PST
Created attachment 182816 [details]
Patch
Comment 2 Julien Chaffraix 2013-01-16 14:53:58 PST
Comment on attachment 182816 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=182816&action=review

> Source/WebCore/ChangeLog:28
> +        * rendering/RenderTableCol.cpp:
> +        (WebCore::RenderTableCol::clearPreferredLogicalWidthsDirtyBits):
> +        * rendering/RenderTableCol.h:

We should probably explain why this code is needed: columns (col) don't have the concept of preferred logical width but they rely on propagating the preferred logical widths bit up to the containing table if their style change.
Comment 3 Ojan Vafai 2013-01-17 12:18:51 PST
Created attachment 183242 [details]
Patch for landing
Comment 4 WebKit Review Bot 2013-01-17 14:42:40 PST
Comment on attachment 183242 [details]
Patch for landing

Clearing flags on attachment: 183242

Committed r140047: <http://trac.webkit.org/changeset/140047>
Comment 5 WebKit Review Bot 2013-01-17 14:42:44 PST
All reviewed patches have been landed.  Closing bug.