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

Issue 2600593002: Fix touch event flag may not be updated correctly by transform which causes no layout (Closed)

Created:
3 years, 12 months ago by yigu
Modified:
3 years, 11 months ago
Reviewers:
*chrishtr, majidvp
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix touch event flag may not be updated correctly by transform which causes no layout BUG=673102 TEST=third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2600593002 Cr-Original-Commit-Position: refs/heads/master@{#443580} Committed: https://chromium.googlesource.com/chromium/src/+/3ad9090bc969c9e2b450ec249d4dfac398bb27b8 Review-Url: https://codereview.chromium.org/2600593002 Cr-Commit-Position: refs/heads/master@{#443921} Committed: https://chromium.googlesource.com/chromium/src/+/48e70529c038713fe0b2ddd21d555a2791f95071

Patch Set 1 #

Patch Set 2 : Use absolute position for cross-platform purpose #

Total comments: 22

Patch Set 3 : Update the logic to focus on non-passive touchEvents #

Total comments: 6

Patch Set 4 : Refactoring #

Patch Set 5 : Bug fixed #

Total comments: 6

Patch Set 6 : Optimization && nit #

Total comments: 2

Patch Set 7 : spv2 failure added in FlagExpectations #

Messages

Total messages: 38 (14 generated)
yigu
Hi Majid, please take a look at the fix. Thanks! Yi
3 years, 12 months ago (2016-12-22 20:56:35 UTC) #3
majidvp
https://codereview.chromium.org/2600593002/diff/20001/third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html File third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html (right): https://codereview.chromium.org/2600593002/diff/20001/third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html#newcode15 third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html:15: a slider transfroms without creating layout. s/creating/causing/ https://codereview.chromium.org/2600593002/diff/20001/third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html#newcode15 third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html:15: ...
3 years, 11 months ago (2017-01-02 21:01:11 UTC) #4
yigu
Hi Majid, Thanks for the feedback! Changes have been made accordingly. PTAL. Yi https://codereview.chromium.org/2600593002/diff/20001/third_party/WebKit/LayoutTests/fast/events/touch/compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html File ...
3 years, 11 months ago (2017-01-03 21:21:36 UTC) #5
majidvp
https://codereview.chromium.org/2600593002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2600593002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode136 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:136: EventTypeNames::touchmove)) After some more thinking I don't think this ...
3 years, 11 months ago (2017-01-04 16:48:51 UTC) #6
yigu
PTAL. Thanks! https://codereview.chromium.org/2600593002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2600593002/diff/40001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode136 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:136: EventTypeNames::touchmove)) On 2017/01/04 16:48:51, majidvp wrote: > ...
3 years, 11 months ago (2017-01-05 14:05:43 UTC) #7
majidvp
The test file name seems overly verbose to me: compositor-touch-hit-rects-geometry-change-as-touch-notified-by-nolayout.html Something like compositor-touch-hit-rects-transform-changed-nolayout.html reads better ...
3 years, 11 months ago (2017-01-05 16:47:08 UTC) #8
yigu
Thanks Majid for your feedback:) PTAL. https://codereview.chromium.org/2600593002/diff/80001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2600593002/diff/80001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode131 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:131: void ScrollingCoordinator::notifyTransformChanged(LayoutBox& box) ...
3 years, 11 months ago (2017-01-05 17:19:58 UTC) #9
majidvp
lgtm
3 years, 11 months ago (2017-01-06 15:09:38 UTC) #10
yigu
Hi Chris, PTAL at this bug fix. Thanks!
3 years, 11 months ago (2017-01-06 15:32:51 UTC) #13
chrishtr
https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode342 third_party/WebKit/Source/core/layout/LayoutBox.cpp:342: scrollingCoordinator->notifyTransformChanged(*this); Just call scrollingCoordinator->notifyGeometryChanged()?
3 years, 11 months ago (2017-01-09 19:12:46 UTC) #14
yigu
https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode342 third_party/WebKit/Source/core/layout/LayoutBox.cpp:342: scrollingCoordinator->notifyTransformChanged(*this); On 2017/01/09 19:12:46, chrishtr wrote: > Just call ...
3 years, 11 months ago (2017-01-09 19:22:02 UTC) #15
chrishtr
On 2017/01/09 at 19:22:02, yigu wrote: > https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp > File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): > > https://codereview.chromium.org/2600593002/diff/100001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode342 ...
3 years, 11 months ago (2017-01-09 19:51:29 UTC) #16
yigu
On 2017/01/09 19:51:29, chrishtr wrote: > On 2017/01/09 at 19:22:02, yigu wrote: > > > ...
3 years, 11 months ago (2017-01-11 22:05:53 UTC) #17
majidvp
On 2017/01/11 22:05:53, yigu wrote: > On 2017/01/09 19:51:29, chrishtr wrote: > > On 2017/01/09 ...
3 years, 11 months ago (2017-01-12 20:52:42 UTC) #18
chrishtr
On 2017/01/12 at 20:52:42, majidvp wrote: > On 2017/01/11 22:05:53, yigu wrote: > > On ...
3 years, 11 months ago (2017-01-12 20:57:32 UTC) #19
chrishtr
lgtm
3 years, 11 months ago (2017-01-12 20:57:37 UTC) #20
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/2600593002/100001
3 years, 11 months ago (2017-01-12 21:01:44 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2323)
3 years, 11 months ago (2017-01-12 22:54:40 UTC) #24
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/2600593002/120001
3 years, 11 months ago (2017-01-13 15:11:17 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/3ad9090bc969c9e2b450ec249d4dfac398bb27b8
3 years, 11 months ago (2017-01-13 16:50:29 UTC) #30
xlai (Olivia)
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2631783003/ by xlai@chromium.org. ...
3 years, 11 months ago (2017-01-13 20:33:17 UTC) #31
yigu
On 2017/01/13 20:33:17, xlai (Olivia) wrote: > A revert of this CL (patchset #7 id:120001) ...
3 years, 11 months ago (2017-01-16 16:17:29 UTC) #33
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/2600593002/120001
3 years, 11 months ago (2017-01-16 16:17:51 UTC) #35
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 18:08:18 UTC) #38
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/48e70529c038713fe0b2ddd21d55...

Powered by Google App Engine
This is Rietveld 408576698