diff options
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/engine.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index ca3c9c5e..712ba511 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -1383,8 +1383,9 @@ func establishesBFC(computed: CSSComputedValues): bool = return computed{"float"} != FloatNone or computed{"position"} == PositionAbsolute or computed{"display"} in {DisplayInlineBlock, DisplayFlowRoot} + - InternalTableBox + {DisplayFlex, DisplayInlineFlex} - #TODO overflow, contain, grid, multicol, column-span + InternalTableBox + {DisplayFlex, DisplayInlineFlex} or + computed{"overflow"} notin {OverflowVisible, OverflowClip} + #TODO contain, grid, multicol, column-span proc layoutFlow(bctx: var BlockContext; box: BlockBox; builder: BlockBoxBuilder; sizes: ResolvedSizes) = |