New issue
Advanced search Search tips

Issue 681951 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 626200



Sign in to add a comment

Synced scroll offset does not match pixel snapped composited scroll offset

Project Member Reported by flackr@chromium.org, Jan 17 2017

Issue description

In  issue 663291  it was discovered that when we have a mix of composited fixed position and non-composited fixed position elements they can be offset by a pixel during scroll. The cause is that we sync the truncated scroll offset to blink but round the snapped scroll offset in cc which results in composited fixed position objects being fixed to a different offset than non-composited fixed position objects.

When the scroll offset was rounded to attempt to be consistent on low DPI, it introduced  issue 677686  where we had unstable scroll positions.

We need to ensure the synced scroll offset matches the snapped offset used for composited fixed position elements so that we can properly render a mix of composited and non-composited fixed position elements.

To see this bug on tip of tree, go to http://www.bcci.tv/ and add will-change: transform; to the side fixed element with class .liveBar: i.e. document.querySelector('.liveBar').style.willChange = 'transform'; This will force the side bar to be composited while the top one is updated on main and after scrolling up/down a white line will appear between the two as in  issue 663291 .
 

Comment 1 by flackr@chromium.org, Jan 17 2017

Labels: -Pri-3 M-58 Pri-2
Does this bug replace  issue 668272  as well then?

Comment 3 by flackr@chromium.org, Jan 18 2017

Cc: flackr@chromium.org smcgruer@chromium.org ajuma@chromium.org
 Issue 668272  has been merged into this issue.

Comment 4 by flackr@chromium.org, Jan 24 2017

Labels: -Hotlist-Threaded-Rendering Hotlist-ThreadedRendering

Comment 5 by flackr@chromium.org, Jan 25 2017

Owner: petermayo@chromium.org
Status: Assigned (was: Available)
Cc: sunyunjia@chromium.org
Owner: ----

Sign in to add a comment