diff options
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 a21d444a..bdff8c64 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -688,7 +688,7 @@ proc generateFromElem(box: BlockBoxBuilder, styledNode: StyledNode, blockgroup: box.generateInlineBoxes(styledNode, blockgroup, viewport) of DISPLAY_INLINE_BLOCK: flush_ibox - let childbox = getInlineBlockBox(box.computed) + let childbox = getInlineBlockBox(styledNode.computed) childbox.content = styledNode.generateBlockBox(viewport) blockgroup.add(childbox) else: |