New issue
Advanced search Search tips

Issue 853092 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 674722
Owner: ----
Closed: Jun 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

background-attachment: fixed combined with position: absolute causes background images to offset when scrolling

Reported by immature...@gmail.com, Jun 15 2018

Issue description

Chrome Version 67.0.3396.87
URL : https://codepen.io/hailedev/pen/QxqLBN

Behavior in Firefox 60.0.2:

What steps will reproduce the problem?
(1) Create a div with a background image
(2) Add the following styles to the div "background-attachment: fixed; position: absolute"
(3) Scroll the page

Expected result: The background image stays fixed at the top
Actual result: The background image offsets in proportion to the scroll position

 
Forgot to add that behavior is correct in Firefox 60.0.2 and canary 69.0.3460.0

Comment 2 by woxxom@gmail.com, Jun 15 2018

Sounds like bug 674722
Mergedinto: 674722
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment