in strict mode, since it is not compatible with WinIE.
* khtml/rendering/render_table.cpp:
(RenderTable::layout):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9022
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-04-15 David Hyatt <hyatt@apple.com>
+
+ Make sure empty tables honor CSS-specified heights when they have no rows or sections. This is done only
+ in strict mode, since it is not compatible with WinIE.
+
+ * khtml/rendering/render_table.cpp:
+ (RenderTable::layout):
+
2005-04-15 David Hyatt <hyatt@apple.com>
Fix for row 13 of the Acid2 test. Change HTML comment parsing in strict mode to do proper SGML parsing,
firstBody->calcRowHeight();
firstBody->layoutRows( th - calculatedHeight );
}
+ else if (!style()->htmlHacks()) {
+ // Completely empty tables (with no sections or anything) should at least honor specified height
+ // in strict mode.
+ m_height += th;
+ }
}
int bl = borderLeft();