Closed Bug 616342 Opened 14 years ago Closed 13 years ago

page-break-before/page-break-after should not apply to inline elements

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 371449

People

(Reporter: dbaron, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Keywords: css2)

We fail this test in the CSS 2.1 test suite: http://test.csswg.org/suites/css2.1/20100917/html4/page-break-before-002.htm because we incorrectly apply page-break-before to inline elements.
This might not be very hard to fix, actually; we already have various conditions on when we apply page-break in the frame constructor. Do we want to not apply to inline, or apply only to block, or something else? In particular, what should happen with XUL boxes, svg, and the like?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Depends on: 683043
You need to log in before you can comment on or make changes to this bug.