[Webkit-unassigned] [Bug 16790] New: Problem with Auto Table Layout Algorithm
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 8 19:30:27 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16790
Summary: Problem with Auto Table Layout Algorithm
Product: WebKit
Version: 523.x (Safari 3)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tables
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yuzhu.shen at gmail.com
In Webkit, if a table contains a cell with "colspan" attribute, automatic table
layout algorithm needs to transfer its minimal width constraint to all the
columns it spans. The algorithm contains a step to distribute the minimal width
constraint to columns in proportion to their maximum width effMaxWidth (in
AutoTableLayout.cpp: AutoTableLayout::calcEffectiveWidth()). For those columns
that have a pecentage width, this width doesn't affect the effMaxWidth and
isn't considered in this minimal width distribution process. This may affect
the final table layout.
IE and Firefox both work fine in this scenario. Please refer to the attachment
for an illustration.
However, since "UAs are not required to implement this algorithm to determine
the table layout in the case that ¡¯table-layout¡¯ is ¡¯auto¡¯; they can use
any other algorithm even if it results in different behavior."(CSS2 17.5.2.2).
I am not sure whether we should modify the algorithm.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list