about summary refs log tree commit diff stats
path: root/src/css/style.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-08-16 22:56:30 +0200
committerbptato <nincsnevem662@gmail.com>2021-08-16 22:56:30 +0200
commit78dae3335dc964c3c57ee1541de6c6c237e36883 (patch)
treeede323204ccab175312df79d14971fa4c09b68e3 /src/css/style.nim
parent2f32d6ed51e14d6871c7be4fd1f8ccdc0455a0bb (diff)
downloadchawan-78dae3335dc964c3c57ee1541de6c6c237e36883.tar.gz
Minor changes
Diffstat (limited to 'src/css/style.nim')
-rw-r--r--src/css/style.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css/style.nim b/src/css/style.nim
index 3ef38bea..6d6935d3 100644
--- a/src/css/style.nim
+++ b/src/css/style.nim
@@ -330,5 +330,7 @@ func getInitialProperties*(): array[low(CSSRuleType)..high(CSSRuleType), CSSComp
     case v
     of VALUE_COLOR:
       result[i] = CSSComputedValue(t: t, v: v, color: getInitialColor(t))
+    of VALUE_DISPLAY:
+      result[i] = CSSComputedValue(t: t, v: v, display: DISPLAY_INLINE)
     else:
       result[i] = CSSComputedValue(t: t, v: v)