summaryrefslogtreecommitdiff
path: root/src/table.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-12 17:12:06 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-12 17:12:06 +0100
commitf0ff2666ee539ba7617715fd2e4f7ac018c2ef32 (patch)
treefe980599e74cad90b32a4ba9e0d74e5a9d4f1b1b /src/table.cc
parentcc16b2f8ff1462f50975b2777b946b29aaa65831 (diff)
reconcile CssProperty::Name and Css_property_info
Diffstat (limited to 'src/table.cc')
-rw-r--r--src/table.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/table.cc b/src/table.cc
index 3f4ddc69..1db32793 100644
--- a/src/table.cc
+++ b/src/table.cc
@@ -61,10 +61,8 @@ void Html_tag_open_table(DilloHtml *html, const char *tag, int tagsize)
if (border != -1)
props.set (CssProperty::CSS_PROPERTY_BORDER_WIDTH, border);
- if (cellspacing != -1) {
- props.set (CssProperty::CSS_PROPERTY_BORDER_SPACING_HORIZONTAL, cellspacing);
- props.set (CssProperty::CSS_PROPERTY_BORDER_SPACING_VERTICAL, cellspacing);
- }
+ if (cellspacing != -1)
+ props.set (CssProperty::CSS_PROPERTY_BORDER_SPACING, cellspacing);
/* When dillo was started with the --debug-rendering option, there
* is always a border around the table. */