about summary refs log tree commit diff stats
path: root/src/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-17 23:26:16 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-17 23:26:16 +0200
commit5bb9542045ff6dbb6c357eb4dd0a7616dba33a9a (patch)
treef4cdd121226f629ff556d32f03b90c1e3b1736b2 /src/layout
parent307e12b79a33b031794c5542d3de4b1eb3611958 (diff)
downloadchawan-5bb9542045ff6dbb6c357eb4dd0a7616dba33a9a.tar.gz
layout: accept inline-flex in iflush
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/engine.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index f0e11265..2cf2cf7c 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -2695,7 +2695,7 @@ proc flushTable(ctx: var InnerBlockContext) =
 proc iflush(ctx: var InnerBlockContext) =
   if ctx.iroot != nil:
     assert ctx.iroot.computed{"display"} in {DisplayInline, DisplayInlineBlock,
-      DisplayInlineTable}
+      DisplayInlineTable, DisplayInlineFlex}
     ctx.blockgroup.add(ctx.iroot)
     ctx.iroot = nil
     ctx.ibox = nil