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

Issue 15093011: Reland "Unifies ScrollView and RenderLayer to use non-shi..." (Closed)

Created:
7 years, 7 months ago by trchen
Modified:
7 years, 7 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, leviw+renderwatch, danakj, Rik, jchaffraix+rendering, Stephen Chennney, jeez, pdr.
Visibility:
Public.

Description

Reland "Unifies ScrollView and RenderLayer to use non-shi..." DO NOT REVERT THIS if AutomationRendererHelperTest.RTLSnapshot fails when blink is rolled. A chromium patch is reviewed and ready for dcommit. https://chromiumcodereview.appspot.com/15006004/ > Unifies ScrollView and RenderLayer to use non-shifted [minPos, maxPos] scroll offset > > For pages with negative overflow (due to RTL or writing mode), there are > two sets of scroll offset defined. One that ranges from [0, maxPos - minPos] > and the other one ranges from [minPos, maxPos]. To reduce confusion, this > patch unifies ScrollView and RenderLayer to use the second definition of > scroll offset. > > BUG=232063 > TEST=manual > R=jamesr@chromium.org,jchaffraix@chromium.org > > Review URL: https://chromiumcodereview.appspot.com/14807003 TBR=jamesr@chromium.org,jchaffraix@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150264

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -84 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/compositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/compositing/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/compositing/overflow/textarea-scroll-touch-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/compositing/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/multicol/shrink-to-column-height-for-pagination.html View 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/platform/chromium-linux/compositing/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/compositing/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/gpu/compositedscrolling/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/gpu/compositedscrolling/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/gpu/compositedscrolling/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/softwarecompositing/overflow/scrolling-content-clip-to-viewport-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/softwarecompositing/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/virtual/softwarecompositing/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/chromium-mac/compositing/overflow/textarea-scroll-touch-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-toggle-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/composited-scrolling-paint-phases-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/scrolling-without-painting-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/updating-scrolling-content-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/tests/ScrollAnimatorNoneTest.cpp View 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/platform/ScrollAnimator.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/ScrollView.cpp View 2 chunks +2 lines, -13 lines 0 comments Download
M Source/core/platform/ScrollableArea.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/platform/Scrollbar.cpp View 2 chunks +6 lines, -8 lines 0 comments Download
M Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/platform/mac/ScrollAnimatorMac.mm View 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 5 chunks +12 lines, -18 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 chunk +12 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
trchen
Committed patchset #1 manually as r150264 (presubmit successful).
7 years, 7 months ago (2013-05-13 21:36:59 UTC) #1
danakj
Can you just disable the test until this rolls over? The blink waterfall will go ...
7 years, 7 months ago (2013-05-13 21:38:40 UTC) #2
trchen
Do we always disable test then re-enable when doing two-sided patch? On Mon, May 13, ...
7 years, 7 months ago (2013-05-13 21:41:22 UTC) #3
trchen
Okay I disabled the test just now. Will re-enable along with the chromium patch. Today ...
7 years, 7 months ago (2013-05-14 00:39:56 UTC) #4
danakj
On Mon, May 13, 2013 at 5:41 PM, Tien-Ren Chen <trchen@chromium.org> wrote: > Do we ...
7 years, 7 months ago (2013-05-14 13:33:38 UTC) #5
eseidel
virtual/gpu/compositedscrolling/scrollbars/custom-scrollbar-with-incomplete-style.html looks to be failing after this. The clip region looks wrong. The text looks ...
7 years, 7 months ago (2013-05-16 23:08:40 UTC) #6
trchen
7 years, 7 months ago (2013-05-16 23:20:23 UTC) #7
Message was sent while issue was closed.
On 2013/05/16 23:08:40, eseidel wrote:
>
virtual/gpu/compositedscrolling/scrollbars/custom-scrollbar-with-incomplete-style.html
> looks to be failing after this.  The clip region looks wrong.  The text looks
> clipped for a non-existant scroll bar?

The new clip region is correct, as mentioned by the text in the test.
Basically the test creates a custom scrollbar that only has a width but without
other properties. The client area should still be clipped by the (blank) custom
scrollbar.

Is the bot failing after I landed the other patch that rebaseline the PNGs? If
that's the case I probably missed some of the platforms then.

Powered by Google App Engine
This is Rietveld 408576698