New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652449 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Use other robhogan account instead.
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Browser scroll position affects position:fixed elements when printing

Reported by mich...@elaura.com, Oct 3 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce the problem:
1. Go to http://mjmasn.github.io/position-fixed-bug.html
2. Open print preview, header is in correct position
3. Close print preview, scroll down the page slightly
4. Open print preview, header is no longer correctly positioned (has been affected by the scroll offset)

What is the expected behavior?
Since the fix linked below, the header should appear in a fixed position on every printed page. 

https://bugs.chromium.org/p/chromium/issues/detail?id=303728 

What went wrong?
The position:fixed element appears on every page instead of just the first page - which is a recent improvement ( issue #303728 )- but it should ignore the scroll offset of the page because the intention behind the feature was to allow developers to add page headers/footers to each page.

Did this work before? N/A 

Chrome version: 53.0.2785.143  Channel: stable
OS Version: OS X 10.12.0
Flash Version: Shockwave Flash 23.0 r0
 
Screen Shot 2016-10-03 at 21.58.46.png
8.1 KB View Download
Screen Shot 2016-10-03 at 21.59.00.png
11.6 KB View Download
Cc: robhogan@chromium.org
Components: Internals>Printing Blink>Layout
Status: Untriaged (was: Unconfirmed)
Confirmed the issue on Chrome Mac 55.0.2879.0. 

Comment 2 by drott@chromium.org, Oct 5 2016

Status: Available (was: Untriaged)

Comment 3 by robho...@gmail.com, Oct 5 2016

Cc: -robhogan@chromium.org
Owner: robhogan@chromium.org
Status: Fixed (was: Available)
Cc: msten...@opera.com robhogan@chromium.org
 Issue 656220  has been merged into this issue.

Sign in to add a comment