Fixed width table cells weren't having their border widths
included in the effective width of the column (and thus could end up being
too small).
Reviewed by darin
Added fast/tables/fixed-cell-growth.html
* rendering/table_layout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14219
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-05-07 David Hyatt <hyatt@apple.com>
+
+ Fix for bugzilla bug 8060.
+
+ Fixed width table cells weren't having their border widths
+ included in the effective width of the column (and thus could end up being
+ too small).
+
+ Reviewed by darin
+
+ Added fast/tables/fixed-cell-growth.html
+
+ * rendering/table_layout.cpp:
+ (WebCore::AutoTableLayout::recalcColumn):
+
2006-05-07 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
case Fixed:
// ignore width=0
if ( w.value() > 0 && (int)l.width.type() != Percent ) {
- int wval = w.value() + (cell->paddingLeft() + cell->paddingRight());
+ int wval = cell->calcBorderBoxWidth(w.value());
if ( l.width.isFixed() ) {
// Nav/IE weirdness
if ((wval > l.width.value()) ||