about summary refs log tree commit diff stats
path: root/src/css/values.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-12-15 22:11:41 +0100
committerbptato <nincsnevem662@gmail.com>2021-12-15 22:11:41 +0100
commitbc1aceb8d8060bc45d352cd9f411b9976044641c (patch)
tree9d4700419f7ffecfa18b14844922977cc1a2696b /src/css/values.nim
parentdd58218f02b0d73e4e148947b7fd61c7d3716804 (diff)
downloadchawan-bc1aceb8d8060bc45d352cd9f411b9976044641c.tar.gz
Better inline block support
Still needs a refactoring of at least the inline processing algorithm to
work somewhat correctly. (how that should be done is another
question...)
Diffstat (limited to 'src/css/values.nim')
-rw-r--r--src/css/values.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index 82b82588..3f982b8d 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -588,6 +588,7 @@ func cssTextDecoration(d: CSSDeclaration): CSSTextDecoration =
     let tok = getToken(d)
     if tok.tokenType == CSS_IDENT_TOKEN:
       case $tok.value
+      of "none": return TEXT_DECORATION_NONE
       of "underline": return TEXT_DECORATION_UNDERLINE
       of "overline": return TEXT_DECORATION_OVERLINE
       of "line-through": return TEXT_DECORATION_LINE_THROUGH