[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
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
Yosin / Levi, as selection reviewers (and original reviewer of the regressing
change).
Philip, to double-check the SVG baseline changes.
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
On 2014/09/24 21:17:09, Julien Chaffraix - PST wrote:
> Yosin / Levi, as selection reviewers (and original reviewer of the regressing
> change).
>
> Philip, to double-check the SVG baseline changes.
This is pretty hard to review without seeing the image diff view :( From a high
level the new SVG baselines look fine to me (they are not horribly broken). I am
a bit concerned about the new non-svg expectations where the repaint rect
actually shrinks a lot though (e.g.,
LayoutTests/platform/linux/fast/repaint/text-selection-rect-in-overflow-2-expected.txt).
What's happening there?
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
lgtm for the code change. I'll wait until pdr evaluates the image results after
the layout test bots have uploaded.
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
I also don't understand why there are svg rebaselines at all when neither patch
affects svg.
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
On 2014/09/24 at 21:29:53, pdr wrote:
> On 2014/09/24 21:17:09, Julien Chaffraix - PST wrote:
> > Yosin / Levi, as selection reviewers (and original reviewer of the
regressing
> > change).
> >
> > Philip, to double-check the SVG baseline changes.
>
> This is pretty hard to review without seeing the image diff view :( From a
high level the new SVG baselines look fine to me (they are not horribly broken).
Yeah, unfortunately we don't have better tooling :-/
The SVG baselines changed by 1px: if you look at the red selection box, the old
baselines have only 3 edges when the new ones have the full box. That's also the
reason why unrelated SVG tests are changing. We didn't touch SVG rendering, they
just happen to have some selection that gets clipped differently.
> I am a bit concerned about the new non-svg expectations where the repaint rect
actually shrinks a lot though (e.g.,
LayoutTests/platform/linux/fast/repaint/text-selection-rect-in-overflow-2-expected.txt).
What's happening there?
The non-SVG rebaselines are just bringing the old expectations: those are the
opposite of what landed with https://codereview.chromium.org/570763003,
including the follow-up rebaseline.
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
On 2014/09/24 22:45:16, Julien Chaffraix - PST wrote:
> On 2014/09/24 at 21:29:53, pdr wrote:
> > On 2014/09/24 21:17:09, Julien Chaffraix - PST wrote:
> > > Yosin / Levi, as selection reviewers (and original reviewer of the
> regressing
> > > change).
> > >
> > > Philip, to double-check the SVG baseline changes.
> >
> > This is pretty hard to review without seeing the image diff view :( From a
> high level the new SVG baselines look fine to me (they are not horribly
broken).
>
>
> Yeah, unfortunately we don't have better tooling :-/
>
> The SVG baselines changed by 1px: if you look at the red selection box, the
old
> baselines have only 3 edges when the new ones have the full box. That's also
the
> reason why unrelated SVG tests are changing. We didn't touch SVG rendering,
they
> just happen to have some selection that gets clipped differently.
>
> > I am a bit concerned about the new non-svg expectations where the repaint
rect
> actually shrinks a lot though (e.g.,
>
LayoutTests/platform/linux/fast/repaint/text-selection-rect-in-overflow-2-expected.txt).
> What's happening there?
>
> The non-SVG rebaselines are just bringing the old expectations: those are the
> opposite of what landed with https://codereview.chromium.org/570763003,
> including the follow-up rebaseline.
Thank you for the explanation. LGTM
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 2 months ago
(2014-09-25 01:44:18 UTC)
#8
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
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
Reviewers: leviw_travelin_and_unemployed, pdr., yosin_UTC9
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 0