aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-10-22 21:47:13 +0000
committercorvid <corvid@lavabit.com>2011-10-22 21:47:13 +0000
commit4052822efdebbf56500204bbbd526673acc04841 (patch)
treecc8e180e851fd82ae9b6bd31be814d2e29e34f64 /src/styleengine.cc
parent1f0c79090620e09aa281ff9ee14f816efb7d6f4f (diff)
text-transform property
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 d1d8e969..6f07b4b4 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -565,6 +565,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) {
case CSS_PROPERTY_TEXT_INDENT:
computeLength (&attrs->textIndent, p->value.intVal, attrs->font);
break;
+ case CSS_PROPERTY_TEXT_TRANSFORM:
+ attrs->textTransform = (TextTransform) p->value.intVal;
+ break;
case CSS_PROPERTY_VERTICAL_ALIGN:
attrs->valign = (VAlignType) p->value.intVal;
break;