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

Issue 541273002: Element.setScrollOffset should integrate with RACUN (Closed)

Created:
6 years, 3 months ago by Julien - ping for review
Modified:
6 years, 3 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Element.setScrollOffset should integrate with RACUN The setScrollOffset code was either generating a synchronous invalidation or using repaint-after-compositing-update. This change removes the former code path. While the overall test invalidation area is the same in all tests, we generate more invalidations. The extra invalidations are caused by forcing a subtree walk of the shifted scrollable areas and thus forcing an invalidation for some of the descendants. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181485

Patch Set 1 #

Patch Set 2 : Added back missing enum value. #

Patch Set 3 : Added 2 more tests to TestExpectations for Mac. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -21 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/scroll-absolute-layer-with-reflection-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/fast/repaint/scroll-fixed-layer-with-reflection-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/scroll-in-fixed-layer-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/scroll-in-transformed-layer-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/fast/repaint/scroll-with-transformed-parent-layer-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.txt View 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.txt View 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/scroll-inside-table-cell-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/win/fast/repaint/scroll-relative-table-inside-table-cell-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/win/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.txt View 1 chunk +7 lines, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.txt View 1 chunk +7 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 chunk +2 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Julien - ping for review
6 years, 3 months ago (2014-09-05 17:23:48 UTC) #2
Xianzhu
I don't quite understand the reason of the extra invalidations. The test should track invalidation ...
6 years, 3 months ago (2014-09-05 17:36:50 UTC) #3
Xianzhu
lgtm. We'd better know more about the reasons of extra invalidations but I think it ...
6 years, 3 months ago (2014-09-05 17:59:01 UTC) #4
Xianzhu
Just debugged fast/repaint/table-overflow-auto-in-overflow-auto-scrolled.html and found that the extra invalidations are for descendants of the scrollable ...
6 years, 3 months ago (2014-09-05 18:29:29 UTC) #5
dsinclair
lgtm
6 years, 3 months ago (2014-09-05 19:30:21 UTC) #6
Julien - ping for review
On 2014/09/05 at 18:29:29, wangxianzhu wrote: > Just debugged fast/repaint/table-overflow-auto-in-overflow-auto-scrolled.html and found that the extra ...
6 years, 3 months ago (2014-09-05 23:09:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/541273002/40001
6 years, 3 months ago (2014-09-05 23:13:06 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-05 23:19:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 181485

Powered by Google App Engine
This is Rietveld 408576698