about summary refs log tree commit diff stats
path: root/src/css/values.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/values.nim')
-rw-r--r--src/css/values.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index b5de5ec5..54324538 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -107,6 +107,8 @@ func cells*(l: CSSLength): int =
   case l.unit
   of UNIT_EM:
     return int(l.num)
+  of UNIT_CH:
+    return int(l.num)
   else:
     #TODO
     return int(l.num / 8)