Closed Bug 616345 Opened 11 years ago Closed 6 years ago

negative bottom margin right before page break causes following content to go missing

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dbaron, Unassigned)

References

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

Details

(Keywords: css2, testcase)

In this test:
http://test.csswg.org/suites/css2.1/20100917/html4/page-break-before-010.htm
there's a negative bottom margin on an element whose bottom border edge is exactly at the end of the page.  This causes the following content to disappear, since we seem to end up applying the negative margin at the top of the next page, which seems wrong.  (I think the spec offers the option of not applying margins at all there, negative or positive.)
Depends on: 616402
Hello,

I get expected results (both in print preview and in printed pages) with Firefox 21 (build ID: 20130512193902), under Linux KDE 4.10.4 (Kubuntu 13.04), i686 (32bits): 4 pages of output and respective lines A to F are printed accordingly.

WORKSFORME
I still get expected results (in print preview) with Firefox 46.0a1 (build ID: 20160109070010): 4 pages of output and respective lines A to F are printed accordingly.

Resolving as WORKSFORME
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.