diff options
author | bptato <nincsnevem662@gmail.com> | 2021-12-14 21:05:32 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-12-14 21:05:32 +0100 |
commit | 148d6ce5154c2e8c6126509f39ae0cd2f019a0c0 (patch) | |
tree | 3f9fa2cdde8ab090ce0168f15e7e84f3d49283e9 /src/io | |
parent | fac95085e1de75e99c12ec30b2d697cf4a77d3ba (diff) | |
download | chawan-148d6ce5154c2e8c6126509f39ae0cd2f019a0c0.tar.gz |
Support all css length units
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/buffer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/buffer.nim b/src/io/buffer.nim index a43223ef..cff179b6 100644 --- a/src/io/buffer.nim +++ b/src/io/buffer.nim @@ -733,7 +733,7 @@ proc renderDocument*(buffer: Buffer) = ss_init = true buffer.document.applyStylesheets(ua_stylesheet, user_stylesheet) - buffer.rootbox = buffer.document.alignBoxes(buffer.width, buffer.height) + buffer.rootbox = buffer.document.alignBoxes(buffer.attrs) if buffer.rootbox == nil: return var stack: seq[CSSBox] |