Preserve conditional math glue through native layout

This commit is contained in:
gloamxun committed 2026-11-29 02:16:50 +08:00
1 parent 91bb864d8c
commit 745c33fd44
18 files changed
+152 -25

No files matched your search

@@ -385,6 +385,12 @@ impl NativeBox {
shrink: 0,
order: 0,
},
TextNode::ConditionalMathGlue => HorizontalItem::Glue {
width: 0,
stretch: 0,
shrink: 0,
order: 0,
},
TextNode::Leaders(leader) => {
let g = leader.glue;
let width = i64::from(g.width)