SVN commit 596875 by carewolf: captions are independent of tables border and padding BUG: 82266 M +4 -0 render_box.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_box.cpp #596874:596875 @@ -707,6 +707,10 @@ } RenderBlock* cb = containingBlock(); + if (isRenderBlock() && cb->isTable()) { + //captions are not affected by table border or padding + return cb->width(); + } if (usesLineWidth()) return cb->lineWidth(m_y); else