From f0dc9a32946fa0c4da6ea737f1109e361ab05254 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 28 Apr 2005 15:57:07 +0000 Subject: [project @ 2005-04-28 15:57:07 by rjw] Unbreak HTML table border specification. svn path=/import/netsurf/; revision=1695 --- render/box_construct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/box_construct.c') diff --git a/render/box_construct.c b/render/box_construct.c index 82b60f97b..0a6ee322e 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -942,7 +942,7 @@ void box_set_table_border(struct box *box, int value, colour color) if (box->type == BOX_TABLE) { for (unsigned int i = 0; i != 4; i++) { if (box->style->border[i].style == - CSS_BORDER_STYLE_NOT_SET) { + CSS_BORDER_STYLE_NONE) { box->style->border[i].color = color; box->style->border[i].width.width = CSS_BORDER_WIDTH_LENGTH; @@ -967,7 +967,7 @@ void box_set_table_border(struct box *box, int value, colour color) case BOX_TABLE_CELL: for (unsigned int i = 0; i != 4; i++) { if (child->style->border[i].style == - CSS_BORDER_STYLE_NOT_SET) { + CSS_BORDER_STYLE_NONE) { child->style->border[i].color = color; child->style->border[i].width.width = CSS_BORDER_WIDTH_LENGTH; -- cgit v1.2.3