diff --git a/packages/core/src/vivliostyle/css-styler.ts b/packages/core/src/vivliostyle/css-styler.ts index c809ed996..3589a51a8 100644 --- a/packages/core/src/vivliostyle/css-styler.ts +++ b/packages/core/src/vivliostyle/css-styler.ts @@ -394,7 +394,7 @@ export class BoxStack { const parent = this.lastBox(); if (parent) { if (parent.flowName === box.flowName) { - if (box.hasBox()) { + if (box.hasBox() && !Display.isRunning(box.styleValue("position"))) { this.atBlockStart = this.atFlowStart = false; } } else {