Closed
Bug 185873
Opened 21 years ago
Closed 21 years ago
printing prettyprinted page only prints first page
Categories
(Core :: XML, defect)
Core
XML
Tracking
()
RESOLVED
FIXED
mozilla1.4alpha
People
(Reporter: sicking, Assigned: hjtoi-bugzilla)
Details
Attachments
(1 file, 1 obsolete file)
677 bytes,
patch
|
sicking
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
When printing a prettyprinted page only the first page is printed. This is probably due to the fact that the prettyprint content is inside an <div style="top: 0; bottom: 0; left: 0; right: 0;"> This might be fixable by having an "@media print" rule that does some cool css-trick.
Comment 1•21 years ago
|
||
I have also seen this problem while looking at XML schemas, which are themselves XML documents. An entire XML that has no stylesheet is displayed nicely as a color enhanced document tree. However an attempt to print only gets the first page, and print preview always says Page 1 of 1. Selecting File, Print, Print Range, All, or even File, Print, Print Range, Pages, From 1 to (say) 10, does not help. It still only prints the first page.
Assignee | ||
Comment 2•21 years ago
|
||
This change makes printing work. Jonas, why is the style rule like that for #top, it seems weird to me?
Assignee | ||
Updated•21 years ago
|
Whiteboard: [fixinhand]
Target Milestone: --- → mozilla1.4alpha
Reporter | ||
Comment 3•21 years ago
|
||
Comment on attachment 116894 [details] [diff] [review] Possible fix You should be able to remove that thing entierly. I wanted to protect against styling on the root element, but that's silly considering that if there is any styling we won't prettyprint in the first place.
Attachment #116894 -
Flags: review-
Assignee | ||
Comment 4•21 years ago
|
||
Attachment #116894 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #116978 -
Flags: superreview?(peterv)
Attachment #116978 -
Flags: review?(bugmail)
Reporter | ||
Comment 5•21 years ago
|
||
Comment on attachment 116978 [details] [diff] [review] removed #top rule, seems to work equally well r=sicking. Thanks for doing this!
Attachment #116978 -
Flags: review?(bugmail) → review+
Updated•21 years ago
|
Attachment #116978 -
Flags: superreview?(peterv) → superreview+
Assignee | ||
Comment 7•21 years ago
|
||
This was fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•