about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/engine.nim')
-rw-r--r--src/layout/engine.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index b15f27b1..1596add2 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -624,7 +624,7 @@ proc getTextBox(computed: CSSComputedValues): InlineBoxBuilder =
 proc getMarkerBox(computed: CSSComputedValues, listItemCounter: int): MarkerBoxBuilder =
   new(result)
   result.inlinelayout = true
-  result.computed = computed
+  result.computed = computed.copyProperties()
   result.computed.setDisplay(DISPLAY_INLINE)
 
   if result.computed{"display"} == DISPLAY_LIST_ITEM: