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

Issue 2777183003: Fix caret visual rect on compositing change (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 8 months ago
Reviewers:
chrishtr
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix caret visual rect on compositing change We should not clear CaretDisplayItemClient::m_localRect in CaretDisplayItemClient::clearPreviousVisualRects() (which is called on compositing change) because - it doesn't change on compositing change; - compositing change happens after updateStyleAndLayoutIfNeeded(); - we'll need m_localRect to calculate the new visual rect during paint invalidation. BUG=704443 Review-Url: https://codereview.chromium.org/2777183003 Cr-Commit-Position: refs/heads/master@{#459833} Committed: https://chromium.googlesource.com/chromium/src/+/8f35a712fd404645efbc73aa8a1ce71d6d0078c0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Xianzhu
3 years, 8 months ago (2017-03-27 16:47:12 UTC) #4
chrishtr
lgtm
3 years, 8 months ago (2017-03-27 16:49:19 UTC) #6
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/2777183003/1
3 years, 8 months ago (2017-03-27 17:00:31 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-03-27 18:25:28 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/8f35a712fd404645efbc73aa8a1c...

Powered by Google App Engine
This is Rietveld 408576698