diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-27 23:36:13 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-27 23:42:28 +0100 |
commit | b5cffb3d805714767f2568b09fe86bb3a83d10b7 (patch) | |
tree | d9106729545b5b3915bfd3a97cf08f8da0d82619 /src/render | |
parent | 65b0b48f445b6c56016a3c842089ef117a9298bc (diff) | |
download | chawan-b5cffb3d805714767f2568b09fe86bb3a83d10b7.tar.gz |
layout/engine: get rid of dom dependency
Layout should only depend on cascading.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/renderdocument.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim index a988cca7..cd6d7a0e 100644 --- a/src/render/renderdocument.nim +++ b/src/render/renderdocument.nim @@ -335,7 +335,7 @@ proc renderDocument*(document: Document, window: WindowAttributes, userstyle: CS uastyle = quirkstyle let styledNode = document.applyStylesheets(uastyle, userstyle, previousStyled) result[1] = styledNode - layout.renderLayout(document, styledNode) + layout.renderLayout(styledNode) result[0].setLen(0) for root in layout.root: result[0].renderBlockContext(root, 0, 0, window) |