about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layout/engine.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 049da947..6ae28e8f 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -2176,8 +2176,8 @@ proc layoutBlockChildren(state: var BlockState, bctx: var BlockContext,
     var dy: LayoutUnit = 0 # delta
     var child: BlockBox
     let isfloat = builder.computed{"float"} != FLOAT_NONE
-    let isinflow = builder.computed{"position"} != POSITION_ABSOLUTE
-      and not isfloat
+    let isinflow = builder.computed{"position"} != POSITION_ABSOLUTE and
+      not isfloat
     if builder.computed.establishesBFC():
       var marginBottomOut: LayoutUnit
       child = bctx.lctx.layoutRootBlock(builder, state.space, state.offset,