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

Issue 646363 link

Starred by 6 users

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Scrolling makes content disappear

Project Member Reported by ikopylov@google.com, Sep 13 2016

Issue description

Chrome Version       : 53.0.2785.101
OS Version: Ubuntu 14.04
URLs (if applicable) :
https://jsfiddle.net/ikopylov/294dryu0/

Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
  Firefox: OK

What steps will reproduce the problem?
1. See above fiddle.
2. Scroll down in the window.

What is the expected result?
Text and white background scroll up normally.


What happens instead of that?
Text and white background begin to disappear. See attached screencaps.


Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36
 
broken_scroll.gif
81.1 KB View Download
expected_scroll.gif
78.7 KB View Download
Project Member

Comment 1 by sheriffbot@chromium.org, Sep 14 2016

Labels: Hotlist-Google

Comment 2 by ajha@chromium.org, Sep 15 2016

Cc: gov...@chromium.org ajha@chromium.org
Components: Blink>Paint>Invalidation Blink>Compositing
Labels: -Type-Bug -Pri-3 ReleaseBlock-Stable M-53 OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: chrishtr@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on the latest canary(55.0.2861.0) on Windows 10, Mac OS 10.11.6 and Linux Ubuntu 14.04.

This is a regression issue broken in M-53.

Last good build: 53.0.2753.0
First bad build: 53.0.2754.0

Changelog:https://chromium.googlesource.com/chromium/src/+log/65cb32e4bac337419a78cc63fcd795567b130385..66797e1dd0c3366619ebcc6a5ce3f546055d9103

chrishtr@: Could you please take a look at this.

Thank you!


Note: Marking this as stable blocker for M-53 in case there is any stable refresh. Feel free to adjust the blocker label if this should not be blocking for M-53.

Comment 3 by ajha@chromium.org, Sep 15 2016

Labels: hasbisect-per-revison
Labels: allpublic
This is a case of non-composited scrolling in which the scrolling element nevertheless has a composited backing.
In such cases, it's incorrect to apply scroll offset in CompositedLayerMapping::adjustForCompositedScrolling.

The bug also only happens if there are negative z-index children and composited descendants, because it only occurs if
m_foregroundLayer is allocated. See PaintLayerCompositor::needsContentsCompositingLayer.

The fix is easy: don't apply scroll offset for m_foregroundLayer if no composited scrolling is present.
Oops, wrong CL. Meant this one:

https://codereview.chromium.org/2343963002

Comment 9 by chrishtr@google.com, Sep 15 2016

FYI the plan is to let this bake and be verified in Canary or a few days, then
request M53 merge for a follow-up push that does not block initial rollout.

Also requesting M54 merge soon.
Igor, thanks for the really good bug report. I appreciate it.
Sure thing, thanks for the fix!
Cc: pbomm...@chromium.org anan...@chromium.org
Re #9, Just to be clear as per our group chat, we take this change only if it is safe and M53 follow-up release happens. At the moment, there is no new release plan for M53. 
This also needs to be merged to M54, right? If so, please request a merge to M54. Thank you.
Labels: Merge-Request-54 M-54

Comment 15 by dimu@chromium.org, Sep 17 2016

Labels: -Merge-Request-54 Merge-Approved-54 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M54 (branch: 2840)
Could you please confirm whether this change is baked/verified in Canary and safe to merge?If yes, merge your change to M54 (branch: 2840) before 4.00 PM PST by Tuesday ( 09/20) so that we could take this for next Beta Release.
Yes. Merging it now.
Project Member

Comment 19 by bugdroid1@chromium.org, Sep 19 2016

Labels: -merge-approved-54 merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/24efa5977217854f5e089b65a0fd6a04e4fc5c75

commit 24efa5977217854f5e089b65a0fd6a04e4fc5c75
Author: Chris Harrelson <chrishtr@chromium.org>
Date: Mon Sep 19 18:57:44 2016

Don't apply composited scrolling offsets if composited scrolling isn't happening.

BUG= 646363 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2343963002
Cr-Commit-Position: refs/heads/master@{#418965}
(cherry picked from commit 578237496c6f4615f752e1c30e50971d118bf208)

Review URL: https://codereview.chromium.org/2353533004 .

Cr-Commit-Position: refs/branch-heads/2840@{#414}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}

[add] https://crrev.com/24efa5977217854f5e089b65a0fd6a04e4fc5c75/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child-expected.png
[add] https://crrev.com/24efa5977217854f5e089b65a0fd6a04e4fc5c75/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child-expected.txt
[add] https://crrev.com/24efa5977217854f5e089b65a0fd6a04e4fc5c75/third_party/WebKit/LayoutTests/compositing/overflow/scroll-neg-z-index-and-composited-child.html
[modify] https://crrev.com/24efa5977217854f5e089b65a0fd6a04e4fc5c75/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Labels: Merge-Request-53
 Issue 648562  has been merged into this issue.

Comment 22 by dimu@chromium.org, Sep 20 2016

Labels: -Merge-Request-53 Merge-Review-53 Hotlist-Merge-Review
[Automated comment] Request affecting a post-stable build (M53), manual review required.
Labels: TE-Verified-54.0.2840.34 TE-Verified-M54
Tested the issue on Chrome Beta# 54.0.2840.34 on Windows, Mac and Linux and is no more reproducible.
Hence adding TE-Verified Labels.

Thank You.
Labels: OS-Android OS-Chrome
Cc: keta...@chromium.org amineer@chromium.org
Labels: -Merge-Review-53 Merge-Approved-53
Approving merge to M53 branch 2785 based on comment #17 and #23. 
Labels: -Merge-Approved-53
Labels: -M-53
Status: Fixed (was: Assigned)
Cc: chrishtr@chromium.org rbasuvula@chromium.org
 Issue 654650  has been merged into this issue.
Status: Verified (was: Fixed)
Works on ChromeOS M55 dev 
Project Member

Comment 32 by bugdroid1@chromium.org, Oct 27 2016

Sign in to add a comment