Skip to content

Commit

Permalink
fix: fix named page not applied at first page with running element
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakamiShinyu committed Dec 27, 2024
1 parent c496824 commit 144a76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/vivliostyle/css-styler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 144a76b

Please sign in to comment.