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

Issue 1817463004: Always apply parent clips to selection rects when painting. (Closed)

Created:
4 years, 9 months ago by chrishtr
Modified:
4 years, 9 months ago
Reviewers:
wkorman
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always apply parent clips to selection rects when painting. Previously, BoxClipper would try to avoid clipping if it appeared the clip had no effect, by comparing with contentVisualOverflowRect(). Now that selections paint newline placeholders, the selection rect may extend beyond the overflow rect. (Selection is not part of overflow, since it is required for it not to affect layout.) BUG=594962 Committed: https://crrev.com/19f335aba751a0809efa94d641502e6f72249bad Cr-Commit-Position: refs/heads/master@{#382313}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Messages

Total messages: 19 (9 generated)
chrishtr
4 years, 9 months ago (2016-03-18 22:21:23 UTC) #3
wkorman
lgtm
4 years, 9 months ago (2016-03-18 22:29:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817463004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817463004/40001
4 years, 9 months ago (2016-03-18 22:30:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817463004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817463004/60001
4 years, 9 months ago (2016-03-19 19:44:38 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/197950)
4 years, 9 months ago (2016-03-19 21:09:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817463004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817463004/80001
4 years, 9 months ago (2016-03-21 15:49:19 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-21 17:18:08 UTC) #15
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/19f335aba751a0809efa94d641502e6f72249bad Cr-Commit-Position: refs/heads/master@{#382313}
4 years, 9 months ago (2016-03-21 17:20:57 UTC) #17
jbroman
I'm a little confused by the description here; visual overflow _doesn't_ affect layout (layout overflow ...
4 years, 9 months ago (2016-03-21 17:36:47 UTC) #18
chrishtr
4 years, 9 months ago (2016-03-21 21:39:57 UTC) #19
Message was sent while issue was closed.
On 2016/03/21 at 17:36:47, jbroman wrote:
> I'm a little confused by the description here; visual overflow _doesn't_
affect layout (layout overflow does), and exists exactly to handle purely visual
(non-layout-effecting) effects, like box-shadow.

You're right, I was wrong. It seems ideally selection should be included in
visual overflow. This may allow us to get rid of the special paint invalidation
bits and rects for it as well.

Powered by Google App Engine
This is Rietveld 408576698