diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/layout/engine.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index c4328fc9..ca5e506f 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -1065,7 +1065,9 @@ proc resolveAbsoluteSizes(lctx: LayoutState, computed: CSSComputedValues): margin: resolveMargins(containingWidth, lctx, computed), padding: resolvePadding(containingWidth, lctx, computed), minWidth: 0, - maxWidth: high(LayoutUnit) + maxWidth: high(LayoutUnit), + minHeight: 0, + maxHeight: high(LayoutUnit) ) sizes.resolveAbsoluteWidth(containingWidth, computed, lctx) sizes.resolveAbsoluteHeight(containingHeight, computed, lctx) |