Closed
Bug 135653
Opened 23 years ago
Closed 22 years ago
Elements with position:fixed; not printable and not visible in Print Preview
Categories
(Core :: Printing: Output, defect, P1)
Core
Printing: Output
Tracking
()
VERIFIED
DUPLICATE
of bug 179683
Future
People
(Reporter: bugzillawatcher, Assigned: rods)
References
Details
(Keywords: dataloss)
Attachments
(1 file)
(deleted),
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020404
BuildID: 20020404
Elements with position:fixed; not visbile in Print Preview.
Load the testcase with an element having fixed position, go into Print Preview.
You see a blank page.
Reproducible: Always
Reporter | ||
Comment 1•23 years ago
|
||
Confirming on linux 2002040410.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.0
Comment 3•22 years ago
|
||
A good example how serious this bug is
resource:///res/samples/test12.html
Print Preview shows nothing.
Updated•22 years ago
|
Keywords: mozilla1.0 → mozilla1.1
Hardware: PC → All
Summary: Elements with position:fixed; not visbile in Print Preview → Elements with position:fixed; not visible in Print Preview
Comment 4•22 years ago
|
||
And worse: its not printing either.
I suspect a relationship with bug 45788 (floating items are chopped off at end
of page)?
Therefor changing component to printing and reassigning to owner of printing.
Component: Print Preview → Printing
Updated•22 years ago
|
Summary: Elements with position:fixed; not visible in Print Preview → Elements with position:fixed; not printable and not visible in Print Preview
Comment 6•22 years ago
|
||
*** Bug 146729 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Keywords: mozilla1.2
Assignee | ||
Comment 7•22 years ago
|
||
The fixed elements are not even getting reflowed in PP.
roc+moz:
Do you have any idea about why fixed frame never get reflow in PP?
Fixed elements are reflowed by the viewport. Do you have one of those?
CSS says that for printing, a fixed element should be repeated once per page.
You're probably going to have to write your own code to handle fixed elements.
Maybe factor out the the fixed-element code in nsViewportFrame and call it from
both nsViewportFrame and nsPageFrame? (If you copy and paste it I will get mad :-))
Assignee | ||
Comment 10•22 years ago
|
||
roc, thanks, I will look into that some more now that I know here to start.
You're welcome. But I beg you, don't duplicate code ... if you feel that you
need to, we can look at how to reorganize the current code so you can use it. We
might be able to rework nsAbsoluteContainingBlock so it can be used by the
viewport and the page for fixed frames.
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → Future
Updated•22 years ago
|
Comment 12•22 years ago
|
||
*** This bug has been marked as a duplicate of 179683 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•