Closed
Bug 38164
Opened 24 years ago
Closed 23 years ago
CSS2 page-break-before and page-break-after not implemented
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
mozilla1.0.1
People
(Reporter: c.skates, Assigned: buster)
References
Details
Attachments
(1 file)
198 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m15)
BuildID: 20000441805
The CSS2 styles page-break-before and page-break-after are not implemented in
M15, without them there is no way to insert page breaks for printed output. The
behaviour in IE5 is as expected.
Reproducible: Always
Steps to Reproduce:
Load the following HTML and print:
<HTML>
<HEAD>
<STYLE>
P {page-break-after :always}
</STYLE>
</HEAD>
<BODY>
<P>
Page 1
</P>
<P>
Page 2
</P>
Page 3
</BODY>
</HTML>
Actual Results: Only one page is printed.
Expected Results: The text "Page 1", "Page 2" and "Page 3" should be printed on
3 different pages.
Comment 1•24 years ago
|
||
Comment 4•24 years ago
|
||
Style supports this, it is part of the nsStylePrint structure which can be
obtained from the style context. When I load the illustrative testcase and dump
the style contexts I see the page-break-after value is set. My guess is that the
value is never being retrieved by the block code (block, or rendering?). The
only references to the mPageBreakAfter field in the nsStylePrint structure are
in style itself... In fact, no code ever even ask for the eStyleStruct_Print
from a StyleContext, so it is supported by style but not used by the rest of
the system. Back to you, Don.
Assignee: attinasi → dcone
Updated•24 years ago
|
Target Milestone: --- → M19
Comment 5•24 years ago
|
||
This is a layout problem. When the page is layed out for a printer I am
assuming the page sequencer should obey this. Chris.. who is doing this?
Assignee: dcone → karnaze
Comment 6•24 years ago
|
||
Marking remind, since it may not make it in the 1st release.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → REMIND
Comment 9•24 years ago
|
||
Proposing for Mozilla1.0. Adding at least minimal support for page-break-before
and after would be helpful.
Comment 10•24 years ago
|
||
Moving to m1.0.1 and buster's list.
Assignee: karnaze → buster
Status: REOPENED → NEW
Target Milestone: --- → mozilla1.0.1
Comment 11•24 years ago
|
||
*** Bug 47019 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
*** Bug 72666 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
This is identical to bug 24000
Comment 14•23 years ago
|
||
*** This bug has been marked as a duplicate of 24000 ***
Status: NEW → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → DUPLICATE
Comment 15•22 years ago
|
||
mass duplicate verifications . For filtering purposes, pls use keywd
"massdupverification"
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•