diff options
author | bptato <nincsnevem662@gmail.com> | 2021-12-15 22:11:41 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-12-15 22:11:41 +0100 |
commit | bc1aceb8d8060bc45d352cd9f411b9976044641c (patch) | |
tree | 9d4700419f7ffecfa18b14844922977cc1a2696b /src/css/values.nim | |
parent | dd58218f02b0d73e4e148947b7fd61c7d3716804 (diff) | |
download | chawan-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.nim | 1 |
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 |