about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css/layout.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/css/layout.nim b/src/css/layout.nim
index 7d76e704..3c41bbeb 100644
--- a/src/css/layout.nim
+++ b/src/css/layout.nim
@@ -3265,7 +3265,8 @@ proc buildInlineBoxes(ctx: var InnerBlockContext; styledNode: StyledNode;
   let parent = InlineBox(
     t: ibtParent,
     computed: computed,
-    splitType: {stSplitStart}
+    splitType: {stSplitStart},
+    node: styledNode
   )
   if ctx.inlineStack.len == 0:
     ctx.addInlineRoot(parent)