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

Issue 598113003: [Regression] Selections are incorrectly invalidated (Closed)

Created:
6 years, 3 months ago by Julien - ping for review
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

[Regression] Selections are incorrectly invalidated https://codereview.chromium.org/570763003 removed the wrong codepath when selecting: |clipToVisibleContent| was true in most cases and we removed this codepath. This change just re-introduce the incorrectly removed codepath. Most baselines are just reverted to their original ones prior to the change. The SVG changes are new and corresponds to the selection box bleeding out of the box, which is a better behavior. BUG=417242, 416186 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182697

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fixed the test to be cross-platform #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -17 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/resources/selection-change-in-iframe-with-relative-parent-iframe.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/selection-change-in-iframe-with-relative-parent.html View 1 chunk +27 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/selection-change-in-iframe-with-relative-parent-expected.txt View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/selection-rl-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/text-selection-rect-in-overflow-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/text-selection-rect-in-overflow-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/linux/svg/text/text-align-02-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-align-03-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-align-04-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-align-06-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-path-01-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-text-08-b-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/text/text-ws-02-t-expected.png View 1 Binary file 0 comments Download
M LayoutTests/platform/mac/fast/repaint/text-selection-rect-in-overflow-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/win-xp/fast/repaint/selection-rl-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/win-xp/fast/repaint/text-selection-rect-in-overflow-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/win-xp/fast/repaint/text-selection-rect-in-overflow-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/selection-rl-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/platform/win/fast/repaint/text-selection-rect-in-overflow-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderReplaced.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderText.cpp View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Julien - ping for review
Yosin / Levi, as selection reviewers (and original reviewer of the regressing change). Philip, to ...
6 years, 3 months ago (2014-09-24 21:17:09 UTC) #2
pdr.
On 2014/09/24 21:17:09, Julien Chaffraix - PST wrote: > Yosin / Levi, as selection reviewers ...
6 years, 3 months ago (2014-09-24 21:29:53 UTC) #3
leviw_travelin_and_unemployed
lgtm for the code change. I'll wait until pdr evaluates the image results after the ...
6 years, 3 months ago (2014-09-24 21:32:29 UTC) #4
pdr.
I also don't understand why there are svg rebaselines at all when neither patch affects ...
6 years, 3 months ago (2014-09-24 21:40:12 UTC) #5
Julien - ping for review
On 2014/09/24 at 21:29:53, pdr wrote: > On 2014/09/24 21:17:09, Julien Chaffraix - PST wrote: ...
6 years, 3 months ago (2014-09-24 22:45:16 UTC) #6
pdr.
On 2014/09/24 22:45:16, Julien Chaffraix - PST wrote: > On 2014/09/24 at 21:29:53, pdr wrote: ...
6 years, 2 months ago (2014-09-25 01:32:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598113003/20001
6 years, 2 months ago (2014-09-25 01:44:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/24644)
6 years, 2 months ago (2014-09-25 03:14:16 UTC) #11
Julien - ping for review
On 2014/09/25 at 03:14:16, commit-bot wrote: > Try jobs failed on following builders: > mac_blink_rel ...
6 years, 2 months ago (2014-09-25 16:48:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598113003/40001
6 years, 2 months ago (2014-09-25 16:49:45 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 18:09:02 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182697

Powered by Google App Engine
This is Rietveld 408576698