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

Issue 2784373004: [SPv2] Replay DragImages into PropertyTreeState of the enclosing stacking context (Closed)

Created:
3 years, 8 months ago by chrishtr
Modified:
3 years, 8 months ago
Reviewers:
trchen, wkorman
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dcheng, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Replay DragImages into PropertyTreeState of the enclosing stacking context. Previously we were replaying them into the root PropertyTreeState. This is incorrect, because it would include any transform, clip or effect nodes that are ancestors of node that we want a DragImage from. BUG=665259 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 . Review-Url: https://codereview.chromium.org/2784373004 Cr-Commit-Position: refs/heads/master@{#461261} Committed: https://chromium.googlesource.com/chromium/src/+/dc1a0f2c42b5de2840c22e0a3e5c5edc57dd4715

Patch Set 1 #

Total comments: 11

Patch Set 2 : none #

Total comments: 2

Patch Set 3 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -9 lines) Patch
A third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html View 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/images/drag-image-transformed-child-expected.png View Binary file 0 comments Download
A third_party/WebKit/LayoutTests/images/drag-image-transformed-child-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/images/drag-image-transformed-parent.html View 1 1 chunk +49 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/images/drag-image-transformed-parent-expected.png View 1 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/images/drag-image-transformed-parent-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
chrishtr
3 years, 8 months ago (2017-03-31 17:36:10 UTC) #5
wkorman
https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html File third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html (right): https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html#newcode29 third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html:29: var startX = image.offsetLeft + image.offsetWidth / 2; Just ...
3 years, 8 months ago (2017-03-31 18:21:52 UTC) #8
chrishtr
https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html File third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html (right): https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html#newcode29 third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html:29: var startX = image.offsetLeft + image.offsetWidth / 2; On ...
3 years, 8 months ago (2017-03-31 20:59:04 UTC) #11
wkorman
lgtm https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html File third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html (right): https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html#newcode29 third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html:29: var startX = image.offsetLeft + image.offsetWidth / 2; ...
3 years, 8 months ago (2017-03-31 21:08:18 UTC) #14
chrishtr
https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html File third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html (right): https://codereview.chromium.org/2784373004/diff/1/third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html#newcode29 third_party/WebKit/LayoutTests/images/drag-image-transformed-child.html:29: var startX = image.offsetLeft + image.offsetWidth / 2; On ...
3 years, 8 months ago (2017-03-31 21:18:00 UTC) #16
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/2784373004/40001
3 years, 8 months ago (2017-03-31 21:18:47 UTC) #18
trchen
Well there is really no standards about how drag images should be drawn. Just wondering ...
3 years, 8 months ago (2017-03-31 21:22:32 UTC) #19
chrishtr
On 2017/03/31 at 21:22:32, trchen wrote: > Well there is really no standards about how ...
3 years, 8 months ago (2017-03-31 21:27:15 UTC) #20
trchen
On 2017/03/31 21:27:15, chrishtr wrote: > On 2017/03/31 at 21:22:32, trchen wrote: > > Well ...
3 years, 8 months ago (2017-03-31 21:28:04 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 22:52:57 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/dc1a0f2c42b5de2840c22e0a3e5c...

Powered by Google App Engine
This is Rietveld 408576698