Slow paint on scroll for absolute positioned elements
Reported by
insensi...@gmail.com,
Nov 10 2016
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36 Steps to reproduce the problem: 1. Visit https://jsfiddle.net/docjom96/ 2. Click 'Static' button and wait until button goes to normal state 3. Start timeline recording in Chrome Developer Tools 4. Scroll to top/bottom several times area with rectangles using scroll bar 5. Stop timeline recording 6. Notice average paint time (green rectangles) in timeline 7. Repeat the same for 'Absolute' button 8. Compare paint timings What is the expected behavior? Paint timings are the same when scrolling absolute positioned elements What went wrong? Using absolute positioning increases paint time when scrolling although exactly the same rectangle with same graphics needs to be painted. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 54.0.2840.87 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 23.0 r0 I also attached two screenshots made on my machine using above fiddle.
,
Nov 11 2016
Thank you for your response and help. We will wait for M56 and see if scrolling performance will increased. Just one little question: can you provide a link for M56 feature which could help us with this issue? Many thanks.
,
Nov 11 2016
There's no link per-se because this is intended to be a pure performance improvement with no compatibility risk or visual behavior change. The relevant bug is https://bugs.chromium.org/p/chromium/issues/detail?id=381840 |
|
►
Sign in to add a comment |
|
Comment 1 by schenney@chromium.org
, Nov 10 2016