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

Issue 1111223002: Invalidate ancestor resources in when relative lengths change (Closed)

Created:
5 years, 7 months ago by fs
Modified:
5 years, 7 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, krit, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Invalidate ancestor resources in when relative lengths change If a LayoutObject within a resource had relative lengths, and the viewport changed, only the object itself would be invalidated - not any of the clients of the resource. This would fail to invalidate the cached display item with Slimming Paint. Modify SVGClipPathElement::selfHasRelativeLengths() to indicate if any of the children have relative lengths, to make sure the clients are invalidated in that case. (SVGClipPathElement will otherwise never indicate that it has relative lengths.) Fixes svg/custom/viewport-resource-inval.svg with Slimming Paint enabled. BUG=477743 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194949

Patch Set 1 #

Patch Set 2 : TEs. #

Total comments: 3

Patch Set 3 : A different way. #

Patch Set 4 : Refine. #

Patch Set 5 : SP needs new baseline too. #

Patch Set 6 : Third time... #

Patch Set 7 : Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
A LayoutTests/svg/custom/viewport-clippath-invalidation.html View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/viewport-clippath-invalidation-expected.html View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
fs
https://codereview.chromium.org/1111223002/diff/20001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/1111223002/diff/20001/LayoutTests/TestExpectations#newcode1204 LayoutTests/TestExpectations:1204: crbug.com/477743 svg/W3C-SVG-1.1/masking-path-04-b.svg [ NeedsRebaseline ] This puzzled me a ...
5 years, 7 months ago (2015-04-30 13:36:47 UTC) #2
pdr.
I spent some time reviewing this and I don't understand why this is required. Why ...
5 years, 7 months ago (2015-05-01 04:14:44 UTC) #5
fs
On 2015/05/01 04:14:44, pdr wrote: > I spent some time reviewing this and I don't ...
5 years, 7 months ago (2015-05-04 13:37:06 UTC) #6
fs
On 2015/05/04 13:37:06, fs wrote: > On 2015/05/01 04:14:44, pdr wrote: > > I spent ...
5 years, 7 months ago (2015-05-04 14:21:30 UTC) #7
pdr.
On 2015/05/04 at 14:21:30, fs wrote: > On 2015/05/04 13:37:06, fs wrote: > > On ...
5 years, 7 months ago (2015-05-05 06:26:13 UTC) #8
fs
On 2015/05/05 06:26:13, pdr (Slow May 5th - May 18th) wrote: > On 2015/05/04 at ...
5 years, 7 months ago (2015-05-05 08:57:57 UTC) #9
fs
On 2015/05/05 08:57:57, fs wrote: > On 2015/05/05 06:26:13, pdr (Slow May 5th - May ...
5 years, 7 months ago (2015-05-05 09:03:54 UTC) #10
pdr.
lgtm LGTM, thanks for the patience
5 years, 7 months ago (2015-05-06 00:01:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1111223002/120001
5 years, 7 months ago (2015-05-06 00:02:14 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-05-06 00:05:49 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194949

Powered by Google App Engine
This is Rietveld 408576698