aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2010-10-21 11:22:29 -0300
committerJorge Arellano Cid <jcid@dillo.org>2010-10-21 11:22:29 -0300
commit4bc80c00e134f96f7226f64eaa37d5c1097d00b2 (patch)
treef9f85a9eb4bcaf69dcf8fdb0f35e887ee4cc293b /src/styleengine.cc
parent90531a3492332a841770ffe32257c97f5531dc0d (diff)
imported patch border-collapse-parsing
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 62ba60d7..a381b1c6 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -434,6 +434,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) {
//attrs->backgroundColor = Color::create(layout, 0xdcd1ba);
attrs->backgroundColor = Color::create(layout, 0xe0e0a3);
break;
+ case CSS_PROPERTY_BORDER_COLLAPSE:
+ attrs->borderCollapse = (BorderCollapse) p->value.intVal;
+ break;
case CSS_PROPERTY_BORDER_TOP_COLOR:
attrs->borderColor.top =
Color::create (layout, p->value.intVal);