Issue metadata
Sign in to add a comment
|
CSS: Multiple backgrounds, different background-attachment, different devicePixelRatio
Reported by
stefan.b...@gmail.com,
May 24 2017
|
||||||||||||||||||||||||
Issue descriptionChrome Version : 58.0.3029.110 (Official Build) (64-bit) URLs (if applicable) : http://dabblet.com/gist/20205b5fcdd834461e80 Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Safari: OK Firefox: OK IE: ? What steps will reproduce the problem? (1) scroll the demo container What is the expected result? at the top of the container are 2 background linear gradients on top of each other. since they have different background-attachment properties, one gradient should scroll away while the other should stay. What happens instead? working as expected on screen with devicePixelRatio = 1 NOT working on screen with devicePixelRatio = 2: on screen with devicePixelRatio = 2 just nothing happens during scrolling. all background gradient are keeping their initial position. Please provide any additional information below. Attach a screenshot if possible. as said above, the only difference I can see, is devicePixelRatio. my setup is a macbook pro 13,3 inch together with apple thunderbolt display 27 inch. using the same chrome window on each different display shows different results. I've also attached a short demo file "background.html".
,
May 25 2017
,
May 25 2017
,
May 25 2017
So with devicePixelRatio = 2 the scroller is actually composited so this is a bug in composited scrolling logic. There are a few well known issues on how we handle the background-attachement: fixed | scroll on compositor. I suspect this might be a duplicate of issue 568847 . cc'ing a few folks who can triage it further.
,
May 25 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ligim...@chromium.org
, May 24 2017Labels: Needs-Triage-M58