Open Bug 616402 Opened 14 years ago Updated 2 years ago

block margins should be ignored at a page break

Categories

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

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Keywords: css2, testcase)

According to CSS 2.1, section 13.3.3: # ... page breaks can occur ... # # 1. In the vertical margin between block boxes. When an unforced page break # occurs here, the used values of the relevant 'margin-top' and 'margin-bottom' # properties are set to '0'. When a forced page break occurs here, the used # value of the relevant 'margin-bottom' property is set to '0'; the relevant # 'margin-top' used value may either be set to '0' or retained. We don't implement this setting of the margins to zero. This causes us to fail: http://test.csswg.org/suites/css2.1/20100917/html4/page-break-margins-002.htm
Blocks: css-break-3
Hello, Regarding http://test.csswg.org/suites/css2.1/latest/html4/page-break-margins-004.htm (and only such test) 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): 2 pages of output and other test requirements are honored, are met.
Gérard, did you make sure that the background-printing option is on? It is disabled by default. (You can find it in the Options tab of the print dialog.) Without background printing on, the yellow check isn't accurate. (Without it on... you'd have to make sure the sentence on the second page is really at the top of the page, not 1in down.)
> Gérard, did you make sure that the background-printing option is on? It is > disabled by default. (You can find it in the Options tab of the print > dialog.) Without background printing on, the yellow check isn't accurate. Ok, I see. You're right. I mishandled this. There is a yellow band of 1in tall on the second page. > (Without it on... you'd have to make sure the sentence on the second page is > really at the top of the page, not 1in down.) Ok. Sorry about that. So, this test is *not* passed yet and I'm using Firefox 22. Gérard
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.