summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/rendering/render_table.cpp')
-rw-r--r--tdehtml/rendering/render_table.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tdehtml/rendering/render_table.cpp b/tdehtml/rendering/render_table.cpp
index 9f2cc3366..bd4002a37 100644
--- a/tdehtml/rendering/render_table.cpp
+++ b/tdehtml/rendering/render_table.cpp
@@ -1105,13 +1105,15 @@ void RenderTableSection::addCell( RenderTableCell *cell, RenderTableRow *row )
grid[cRow].height = height;
break;
case Relative:
+ {
#if 0
// we treat this as variable. This is correct according to HTML4, as it only specifies length for the height.
if ( cRowHeight.type == Variable ||
( cRowHeight.type == Relative && cRowHeight.value < height.value ) )
grid[cRow].height = height;
- break;
#endif
+ break;
+ }
default:
break;
}
@@ -2697,8 +2699,8 @@ int RenderTableCell::borderBottom() const
static void outlineBox(TQPainter *p, int _tx, int _ty, int w, int h)
{
- p->setPen(TQPen(TQColor("yellow"), 3, Qt::DotLine));
- p->setBrush( Qt::NoBrush );
+ p->setPen(TQPen(TQColor("yellow"), 3, TQt::DotLine));
+ p->setBrush( TQt::NoBrush );
p->drawRect(_tx, _ty, w, h );
}
#endif