Commit d8f21d5e authored by hyatt's avatar hyatt

Make table sections and table captions support opacity.

        Reviewed by darin

        Covered by some of the new Mozilla table tests.

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paint):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c3600479
2006-03-17 David Hyatt <hyatt@apple.com>
Make table sections and table captions support opacity.
Reviewed by darin
Covered by some of the new Mozilla table tests.
* rendering/RenderTable.cpp:
(WebCore::RenderTable::paint):
2006-03-17 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Maciej, landed by Beth.
......@@ -392,7 +392,7 @@ void RenderTable::paint(PaintInfo& i, int _tx, int _ty)
PaintInfo paintInfo(i.p, i.r, paintAction, paintingRootForChildren(i));
for (RenderObject *child = firstChild(); child; child = child->nextSibling())
if (child->isTableSection() || child == tCaption)
if (!child->layer() && (child->isTableSection() || child == tCaption))
child->paint(paintInfo, _tx, _ty);
if (collapseBorders() && paintAction == PaintActionChildBlockBackground && style()->visibility() == VISIBLE) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment