diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-18 17:58:38 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-18 17:58:38 +0200 |
commit | d6000870dbf2f110c3903e03833151cce1d9759a (patch) | |
tree | 0a1ab21793d9413c764d594a36396234be1ddbc0 /src/layout/engine.nim | |
parent | 918964940ddbbef317168392bc5f5e193a7a96cd (diff) | |
download | chawan-d6000870dbf2f110c3903e03833151cce1d9759a.tar.gz |
Enable remote stylesheets; fix inline block values
Diffstat (limited to 'src/layout/engine.nim')
-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: |