diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:07:48 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:07:48 +0100 |
commit | 827fe83a429f7bceebfde326c8cff7723f971edd (patch) | |
tree | 3a11d32824c9dc931196f593543e71eed6448d3b /src/styleengine.cc | |
parent | fb551355dfb2f49d56cdaab8a55ed3cb00ec7dc8 (diff) |
add CSS_PROPERTY_BORDER_SPACING_HORIZONTAL, CSS_PROPERTY_BORDER_SPACING_VERTICAL
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 6 |
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; |