Closed
Bug 442500
Opened 18 years ago
Closed 15 years ago
"Position: Absolute" Problem for Firefox 3 Printing
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jknauth, Unassigned)
Details
(Whiteboard: [closeme 2011-03-15])
Attachments
(1 file)
|
2.85 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
When a page is printed which contains a "position: absolute" element whose ancestor is the body element, the absolute element is misplaced. It appears in Firefox 3.0 the element is now offset from the body element. In earlier Firefox releases (and in Internet Explorer), it was offset from the html element. The default position attribute for body is static, so the html element should have been used as the offset base. This problem occurs only for print and print preview. For the displayed page, the correct rendering seems to occur.
Reproducible: Always
Steps to Reproduce:
1.Create a web page with a <p position: absolute; bottom: 0.2in;>xxx</p>.
2.Print the page (or print preview it).
3.
Actual Results:
The paragraph is printed 0.2 inches from the bottom of the body section instead of 0.2 inches from the bottom of the page. Since the body can take much less than the page, the absolute positioned element is misplaced.
Expected Results:
Proper placement 0.2 inches from the bottom of the page.
I'll post a test case as soon as this report gets accepted.
| Reporter | ||
Comment 1•18 years ago
|
||
Updated•16 years ago
|
Component: General → Printing: Output
Product: Firefox → Core
QA Contact: general → printing
Comment 2•15 years ago
|
||
do you see this issue still with version 3.6 or 4.0 beta?
Whiteboard: [closeme 2011-03-15]
| Reporter | ||
Comment 3•15 years ago
|
||
Wayne, I'm now on 3.6. It looks like the print is now working again. I had stopped using "position: absolute" because of the bug and don't know when it got fixed. I have no problem if this is marked as resolved if it is also working for others.
Comment 4•15 years ago
|
||
wfm per reporter's comments
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•