diff options
author | bptato <nincsnevem662@gmail.com> | 2023-01-06 22:34:39 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-01-06 22:34:39 +0100 |
commit | efe492aedbe9eb661a0ffb469649613fa7cfc6b0 (patch) | |
tree | 8ce63b84c81351b1f20b9754144f9652549e9ee3 /src/layout | |
parent | 262ea3c7cb6562cd4b0d6b0acbad78accd57b14c (diff) | |
download | chawan-efe492aedbe9eb661a0ffb469649613fa7cfc6b0.tar.gz |
layout/engine: fix marker box computed values
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/engine.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index fdbfa81c..f116e440 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -1227,7 +1227,7 @@ proc getTextBox(computed: CSSComputedValues): InlineBoxBuilder = proc getMarkerBox(computed: CSSComputedValues, listItemCounter: int): MarkerBoxBuilder = new(result) result.inlinelayout = true - result.computed = computed.copyProperties() + result.computed = computed.inheritProperties() result.computed{"display"} = DISPLAY_INLINE # Use pre, so the space at the end of the default markers isn't ignored. result.computed{"white-space"} = WHITESPACE_PRE |