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

Issue 707598 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Apr 2017
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Canvas element checkerboards on every frame.

Project Member Reported by khushals...@chromium.org, Apr 2 2017

Issue description

Chrome Version: 56.0.2924.87 (64-bit)
OS: MacOSX 10.12.3

What steps will reproduce the problem?
(1) Visit http://www.gangavatika.com/.
(2) Scroll down until you're at the middle of the page and start scrolling up slowly.

What is the expected result?
Scrolling up should be smooth.

What happens instead?
You start seeing checkerboards on every frame the moment you reach the canvas. No matter what the scrolling speed.

I've attached a trace. You can see after ~6s, canvas doing a bunch of work at the beginning of the main frame. What's weird is that throughout the gesture, we draw before the commit (smoothness takes priority mode). Usually cc has enough pre-painted immediately outside the viewport for scrolls but in this case we are still checker-boarding.

junov@, do you mind taking a look and see if there is anything actionable here?

 
trace_canvas_checkerboarding.json.gz
2.2 MB Download

Comment 1 by junov@chromium.org, Apr 3 2017

Status: WontFix (was: Assigned)
This is not a bug in Chrome.  If you look at the element inspector while scrolling the page, you will see that the CSS size of the canvas element is being adjusted dynamically as the page scrolls.  My best guess is that this is probably a culling optimization in swiffy.  

Sign in to add a comment