Closed
Bug 621677
Opened 15 years ago
Closed 10 years ago
{page-break-after: always} are printed twice
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: vasyl.demin, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101211 Firefox/3.6.13
There are two files in attachment, which differ only "cellpadding" attribute within <table> tag. When I print this page with the cellpadding set to "0", the page separators (except for the first one) are printed twice. A print preview of a file with cellpadding "1" looks correctly.
Reproducible: Always
| Reporter | ||
Updated•15 years ago
|
Hardware: x86_64 → All
Summary: {page-break-after: always} printed twice → {page-break-after: always} are printed twice
| Reporter | ||
Comment 1•15 years ago
|
||
| Reporter | ||
Comment 2•15 years ago
|
||
| Reporter | ||
Updated•15 years ago
|
Version: unspecified → 3.6 Branch
Updated•15 years ago
|
Component: General → Printing: Output
Keywords: testcase
Product: Firefox → Core
QA Contact: general → printing
Whiteboard: dupeme
Version: 3.6 Branch → 1.9.2 Branch
Comment 3•10 years ago
|
||
vdemin,
Are you still able to reproduce the problem in a recent nightly build of Firefox?
Over here, I created 2 tests from your attachment 500028 [details] and attachment 500029 [details]
http://www.gtalbot.org/BugzillaSection/Bug621677-attachment500028-cellpadding0.html
http://www.gtalbot.org/BugzillaSection/Bug621677-attachment500029-cellpadding1.html
and I can not reproduce the problem (2nd page separator is, you say, "printed twice" in the cellpadding="0" test version): I get 3 printed pages in print preview with Firefox 44.0.2 and Firefox 47.0a1 buildID=20160304163750 in both tests.
WORKSFORME
Regarding your attachment 500028 [details] and attachment 500029 [details], please note that both your tests
- did not declare any doctype
- rule="none": it's rules, not rule
https://www.w3.org/TR/html4/struct/tables.html#h-11.3.1
and anyway, by default, a table does not have any borders
- 'normal' is the default, initial value for 'white-space';
https://www.w3.org/TR/CSS21/text.html#white-space-prop
so there was no need to declare style="white-space: normal;"
- <div>sample<div> blocks had no closing tag; in my tests, I replaced <div>sample<div> blocks with <div>sample</div>
- 'width: 100%' for table elements is not needed in your tests and should not be part of your tests; I tried your attachments with and without 'width: 100%' and it made no difference
But, again, I get expected results: the 2nd page separator is "printed" once (not twice) in your cellpadding="0" test version.
vdemin, please check your tests again, this time, in a recent build of Firefox and let us know your results. Thank you.
Flags: needinfo?(vasyl.demin)
| Reporter | ||
Comment 4•10 years ago
|
||
Hello Gérard,
yep it seems fixed. I can't reproduce the issue in 44.0.2.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(vasyl.demin)
Resolution: --- → INVALID
Comment 5•10 years ago
|
||
Vasyl,
Thank you for your quick reply.
Since the problem appears to have been fixed, since we do not know what would be the bug number and for other reasons (the bug has never been reproduced or confirmed in the first place), then it is better to resolve this bug as WORKSFORME.
Gérard
You need to log in
before you can comment on or make changes to this bug.
Description
•