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

Issue 340913002: RenderLayer::scrollParent should walk the containing block chain (Closed)

Created:
6 years, 6 months ago by abarth-chromium
Modified:
6 years, 6 months ago
Reviewers:
Ian Vollick
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, eae+blinkwatch, esprehn, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

RenderLayer::scrollParent should walk the containing block chain Previously, we'd start out walking one step in the containing block chain and then continue with the RenderLayer::parent chain, but that's incorrect in cases when subsequent steps in the containing block chain jump over the scrolling element. R=vollick@chromium.org

Patch Set 1 #

Patch Set 2 : git add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -47 lines) Patch
A LayoutTests/compositing/overflow/scroll-parent-absolute.html View 1 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/scroll-parent-absolute-expected.txt View 1 1 chunk +75 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 2 chunks +5 lines, -43 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
abarth-chromium
6 years, 6 months ago (2014-06-18 22:30:21 UTC) #1
abarth-chromium
This CL seems to crash inside cc. Not sure how that's possible...
6 years, 6 months ago (2014-06-18 22:31:37 UTC) #2
Ian Vollick
On 2014/06/18 22:31:37, abarth wrote: > This CL seems to crash inside cc. Not sure ...
6 years, 6 months ago (2014-06-19 15:55:24 UTC) #3
abarth-chromium
On 2014/06/19 at 15:55:24, vollick wrote: > On 2014/06/18 22:31:37, abarth wrote: > > This ...
6 years, 6 months ago (2014-06-19 16:09:53 UTC) #4
Ian Vollick
On 2014/06/19 16:09:53, abarth wrote: > On 2014/06/19 at 15:55:24, vollick wrote: > > On ...
6 years, 6 months ago (2014-06-19 16:25:33 UTC) #5
abarth-chromium
On 2014/06/19 at 16:25:33, vollick wrote: > We could easily make cc able to cope ...
6 years, 6 months ago (2014-06-19 16:33:20 UTC) #6
abarth-chromium
6 years, 6 months ago (2014-06-19 18:27:38 UTC) #7
On 2014/06/19 at 16:33:20, abarth wrote:
> On 2014/06/19 at 16:25:33, vollick wrote:
> > We could easily make cc able to cope with this case if you think that's a
good idea.
> 
> We can handle it in Blink.

OK.  I'm going to close this CL and re-work the CL that moves this computation
to CompositingInputUpdater.

Powered by Google App Engine
This is Rietveld 408576698