Summary: | [test case] Table <caption> does not resize along with table when browser window resized | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andrew Greenwood <andrew.greenwood> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | test case attached |
Description
Andrew Greenwood
2006-08-26 00:02:50 UTC
Created attachment 17506 [details]
test case attached
SVN commit 577316 by ggarand: mark table caption for layout if needed. BUG: 133001 M +4 -1 render_table.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_table.cpp #577315:577316 @@ -283,9 +283,12 @@ m_height = 0; initMaxMarginValues(); - //int oldWidth = m_width; + int oldWidth = m_width; calcWidth(); m_overflowWidth = m_width; + + if (tCaption && (oldWidth != m_width || tCaption->style()->height().isPercent())) + tCaption->setChildNeedsLayout(true); // the optimization below doesn't work since the internal table // layout could have changed. we need to add a flag to the table |