aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-10 20:07:48 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-10 20:07:48 +0100
commit827fe83a429f7bceebfde326c8cff7723f971edd (patch)
tree3a11d32824c9dc931196f593543e71eed6448d3b /src/styleengine.cc
parentfb551355dfb2f49d56cdaab8a55ed3cb00ec7dc8 (diff)
add CSS_PROPERTY_BORDER_SPACING_HORIZONTAL, CSS_PROPERTY_BORDER_SPACING_VERTICAL
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index bdd6affb..63cf094c 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -126,6 +126,12 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) {
case CssProperty::CSS_PROPERTY_BORDER_WIDTH:
attrs->borderWidth.setVal (p->value.intVal);
break;
+ case CssProperty::CSS_PROPERTY_BORDER_SPACING_HORIZONTAL:
+ attrs->borderWidth.setVal (p->value.intVal);
+ break;
+ case CssProperty::CSS_PROPERTY_BORDER_SPACING_VERTICAL:
+ attrs->borderWidth.setVal (p->value.intVal);
+ break;
case CssProperty::CSS_PROPERTY_COLOR:
attrs->color = Color::createSimple (layout, p->value.intVal);
break;