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

Issue 2683433002: Set m_graphicsLayer as fixed position container (Closed)

Created:
3 years, 10 months ago by ajuma
Modified:
3 years, 10 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set m_graphicsLayer as fixed position container This changes the fixed position container set by CompositedLayerMapping from childForSuperlayers() to m_graphicsLayer. When childForSuperlayers() is different from m_graphicsLayer, setting the fixed position container to childForSuperlayers() means that the contained fixed position layers incorrectly ignore changes to m_graphicsLayer's transform that happen on the compositor thread (since they're fixed to m_graphicsLayer's parent rather than to m_graphicsLayer itself). BUG=686748 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2683433002 Cr-Commit-Position: refs/heads/master@{#449448} Committed: https://chromium.googlesource.com/chromium/src/+/d290cbee660c449245346abe4a9f2c7948df4c9e

Patch Set 1 #

Patch Set 2 : Add test, remove cc workaround #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -7 lines) Patch
M cc/layers/layer.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/fixed-position-container.html View 1 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/fixed-position-container-expected.html View 1 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
ajuma
I'm not sure how to write a good test for this, since the position gets ...
3 years, 10 months ago (2017-02-07 16:59:40 UTC) #9
chrishtr
On 2017/02/07 at 16:59:40, ajuma wrote: > I'm not sure how to write a good ...
3 years, 10 months ago (2017-02-08 02:02:27 UTC) #10
ajuma
Added a test. What made this tricky is that cc was inferring that layers with ...
3 years, 10 months ago (2017-02-09 18:52:06 UTC) #15
chrishtr
lgtm
3 years, 10 months ago (2017-02-09 22:47:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2683433002/20001
3 years, 10 months ago (2017-02-09 22:48:07 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 22:54:50 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d290cbee660c449245346abe4a9f...

Powered by Google App Engine
This is Rietveld 408576698