aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2010-11-09 00:18:56 +0000
committercorvid <corvid@lavabit.com>2010-11-09 00:18:56 +0000
commit8dde7d0eb570d424043585f644fd69f0721fff87 (patch)
tree67d61d7d492a4a5fb01d70a6923f41cd5e9bf4a2 /src/styleengine.cc
parentddb82f115ca6da13c0bcc53839debc5cff718da0 (diff)
css text-indent property
thread: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-November/007801.html
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..bb86ce4d 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -544,6 +544,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) {
case CSS_PROPERTY_TEXT_DECORATION:
attrs->textDecoration |= p->value.intVal;
break;
+ case CSS_PROPERTY_TEXT_INDENT:
+ computeLength (&attrs->textIndent, p->value.intVal, attrs->font);
+ break;
case CSS_PROPERTY_VERTICAL_ALIGN:
attrs->valign = (VAlignType) p->value.intVal;
break;