Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Issue 1407383005: Fix flattening for scrollable areas. (Closed)

Created:
5 years, 1 month ago by tdresser
Modified:
5 years ago
Reviewers:
Ian Vollick
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, jdduke+watch_chromium.org, rwlbuis, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, szager+layoutwatch_chromium.org, jam, Justin Novosad, danakj, Rik, darin-cc_chromium.org, jchaffraix+rendering, blink-reviews, vmpstr+blinkwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, jbroman, krit, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, blink-layers+watch_chromium.org, f(malita), Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flattening for scrollable areas. Previously we flattened the scrollingContentsLayer, but not the graphics or scrolling layers. This resulted in incorrect hit testing sometimes. BUG=543655 Committed: https://crrev.com/9653a8175a97e6f8fa54219c6294ddb71033bfdf Cr-Commit-Position: refs/heads/master@{#364120}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase, and some rebaselining. #

Patch Set 5 : Update test expectations. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fix TestExpectations. #

Patch Set 8 : Fix TestExpectations. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -163 lines) Patch
A content/browser/renderer_host/input/composited_scrolling_browsertest.cc View 1 1 chunk +167 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/accelerated-overflow-scroll-should-not-affect-perspective-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/clear-scroll-parent-expected.txt View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 2 3 3 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/content-gains-scrollbars-expected.txt View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/overflow-scrollbar-layers-expected.txt View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/reparented-scrollbars-non-sc-anc-expected.txt View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/scroll-parent-absolute-expected.txt View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/scroll-parent-with-non-stacking-context-composited-ancestor-expected.txt View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/scrolling-without-painting-expected.txt View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/universal-accelerated-overflow-scroll-expected.txt View 1 2 3 12 chunks +30 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/overflow/updating-scrolling-content-expected.txt View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/compositing/scrollbars/nested-overlay-scrollbars-expected.txt View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/squashing/composited-bounds-for-negative-z-expected.txt View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/update-paint-phases-expected.txt View 1 2 3 4 3 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/overflow-move-after-scroll-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/overflow-scroll-after-move-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/selection-gaps-after-removing-scrolling-contents-expected.txt View 1 2 3 5 chunks +16 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/selection-gaps-toggling-expected.txt View 1 2 3 3 chunks +13 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/selection-gaps-toggling-with-scrolling-contents-expected.txt View 1 2 3 6 chunks +16 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/overflow/textarea-scroll-touch-expected.txt View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/selection/selection-within-composited-scroller-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/selection-gaps-after-removing-scrolling-contents-expected.txt View 1 2 3 4 5 chunks +16 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/selection-gaps-toggling-expected.txt View 1 2 3 4 3 chunks +13 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/selection-gaps-toggling-with-scrolling-contents-expected.txt View 1 2 3 4 6 chunks +16 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/text-color-change-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/text-match-highlight-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/textarea-scroll-touch-expected.txt View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/prefer_compositing_to_lcd_text/compositing/overflow/updating-scrolling-container-and-content-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/syncpaint/compositing/repaint/should-not-clip-composited-overflow-scrolling-layer-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/syncpaint/paint/selection/selection-within-composited-scroller-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/accelerated-overflow-scroll-should-not-affect-perspective-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/clear-scroll-parent-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 2 3 4 3 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/content-gains-scrollbars-expected.txt View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-auto-with-touch-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-auto-with-touch-toggle-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-overlay-with-touch-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/overflow-scrollbar-layers-expected.txt View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/reparented-scrollbars-non-sc-anc-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-parent-absolute-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scroll-parent-with-non-stacking-context-composited-ancestor-expected.txt View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/scrolling-without-painting-expected.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/universal-accelerated-overflow-scroll-expected.txt View 1 2 3 4 12 chunks +30 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/updating-scrolling-container-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/prefer_compositing_to_lcd_text/compositing/overflow/updating-scrolling-content-expected.txt View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (23 generated)
tdresser
I'm not completely happy with the testing here, but I think it's probably good enough. ...
5 years, 1 month ago (2015-10-30 20:01:15 UTC) #2
tdresser
On 2015/10/30 20:01:15, tdresser wrote: > I'm not completely happy with the testing here, but ...
5 years, 1 month ago (2015-11-02 15:44:31 UTC) #3
tdresser
On 2015/11/02 15:44:31, tdresser wrote: > On 2015/10/30 20:01:15, tdresser wrote: > > I'm not ...
5 years, 1 month ago (2015-11-06 20:17:45 UTC) #4
Ian Vollick
On 2015/11/06 20:17:45, tdresser wrote: > On 2015/11/02 15:44:31, tdresser wrote: > > On 2015/10/30 ...
5 years, 1 month ago (2015-11-06 20:31:58 UTC) #5
tdresser
On 2015/11/06 20:31:58, vollick wrote: > On 2015/11/06 20:17:45, tdresser wrote: > > On 2015/11/02 ...
5 years, 1 month ago (2015-11-10 17:27:19 UTC) #6
tdresser
On 2015/11/06 20:31:58, vollick wrote: > On 2015/11/06 20:17:45, tdresser wrote: > > On 2015/11/02 ...
5 years, 1 month ago (2015-11-10 17:27:21 UTC) #7
Ian Vollick
On 2015/11/10 17:27:21, tdresser wrote: > On 2015/11/06 20:31:58, vollick wrote: > > On 2015/11/06 ...
5 years, 1 month ago (2015-11-11 22:05:16 UTC) #8
tdresser
Sorry for the massive delay here. PTAL There are a few bounds changes that seem ...
5 years ago (2015-12-03 15:13:47 UTC) #9
tdresser
I've verified that this doesn't cause any pixel diffs on any of the 6 tests ...
5 years ago (2015-12-03 19:24:37 UTC) #10
Ian Vollick
On 2015/12/03 19:24:37, tdresser wrote: > I've verified that this doesn't cause any pixel diffs ...
5 years ago (2015-12-04 03:39:49 UTC) #11
tdresser
Yup, fixed.
5 years ago (2015-12-04 18:01:42 UTC) #12
Ian Vollick
On 2015/12/04 18:01:42, tdresser wrote: > Yup, fixed. Great, thanks! lgtm.
5 years ago (2015-12-05 00:57:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-07 14:33:58 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/106134)
5 years ago (2015-12-07 16:06:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-07 20:31:02 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/145625)
5 years ago (2015-12-07 21:08:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-08 15:20:13 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/98654) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-08 15:38:01 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-08 15:41:04 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/139762)
5 years ago (2015-12-08 16:00:19 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-08 16:20:30 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/98712) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-08 17:00:53 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-08 17:18:07 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/98750) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-08 17:35:23 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-08 18:08:00 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/152427)
5 years ago (2015-12-08 18:25:35 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/140001
5 years ago (2015-12-09 15:09:36 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/127024) linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-09 15:14:40 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407383005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407383005/180001
5 years ago (2015-12-09 17:37:01 UTC) #51
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years ago (2015-12-09 19:18:50 UTC) #52
commit-bot: I haz the power
5 years ago (2015-12-09 19:19:52 UTC) #54
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9653a8175a97e6f8fa54219c6294ddb71033bfdf
Cr-Commit-Position: refs/heads/master@{#364120}

Powered by Google App Engine
This is Rietveld 408576698