Closed Bug 423192 Opened 16 years ago Closed 10 years ago

Div with {position:fixed; bottom:XXX} is missing on first page in print/print-prev

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: BijuMailList, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(3 files)

Attached file fixed_bottom.html
CSS position:fixed with bottom dont print on first page
see http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/571008602582f0b3/c29ce79e5346f901#c29ce79e5346f901
try print preview with the attachments fixed_bottom_2.html and fixed_bottom.html
Attached file fixed_bottom_2.html
Depends on: 417676
I see this on Linux 2008031404 nightly as well.
OS/Platform --> All.
OS: Windows Vista → All
Hardware: PC → All
(In reply to comment #2)
> I see this on Linux 2008031404 nightly as well.
(... with both testcases.)
Summary: CSS position:fixed with bottom dont print on first page → Div with {position:fixed; bottom:XXX} is missing on first page in print/print-prev
Flags: blocking1.9?
Is this a regression?  If so, from when?

(In reply to comment #4)
> Is this a regression? 
Yes, from Firefox/2.0.0.12

> If so, from when?
I dont know exactly, 
please check regression range of bug 417676, 
may be bug 417676 did not fixed it fully.

Flags: wanted1.9+
Flags: blocking1.9?
Flags: blocking1.9-
The attached tests seems to work as expected in Print Preview using Nightly 30.0a1 (2014-03-11)
on Linux.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite?
Keywords: testcase
Resolution: --- → WORKSFORME
On the last attachment (https://bugzilla.mozilla.org/attachment.cgi?id=8531597), if we remove link tag (fonts.googleapis.com), all works fine !
(In reply to claudel.sylvain from comment #7)
> Firefox can't display header and footer on the first page.

Works fine for me in Nightly 36.0a1 (2014-11-24) on Linux.
Can you reproduce the problem in the latest Nightly using a fresh profile?
http://nightly.mozilla.org/
Flags: needinfo?(claudel.sylvain)
(In reply to Mats Palmgren (:mats) from comment #9)
> (In reply to claudel.sylvain from comment #7)
> > Firefox can't display header and footer on the first page.
> 
> Works fine for me in Nightly 36.0a1 (2014-11-24) on Linux.
> Can you reproduce the problem in the latest Nightly using a fresh profile?
> http://nightly.mozilla.org/

The problem remains.

Try this : click on attachment "Firefox can't display header and footer on the first page." at top of this page and look at the FF console : the google font is not loaded (Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700,400italic") and if you try to print-preview the page, you'll see the header and the footer on the first page.

But, if you store that file on your local machine and render it from file:// (or if you fire a local web server to serve that page) the google font will load successfully and the header / footer will be hidden on the first page.

Tested on Firefox nightly 37.0a1 (2014-14-04) and on Firefox 34.0 (on Linux Ubuntu).
Flags: needinfo?(claudel.sylvain)
(In reply to claudel.sylvain from comment #10)

Thanks.  It's a different problem to what was reported here -
I filed bug 1108104.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: