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

Issue 622653003: Gradients should restrict possible content (Closed)

Created:
6 years, 2 months ago by rwlbuis
Modified:
6 years, 2 months ago
Reviewers:
pdr., krit, fs
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, Stephen Chennney, pdr+svgwatchlist_chromium.org, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Gradients should restrict possible content Gradients have specific rules about the content that is allowed, change the code to allow only <stop> and paint servers as children. Also add a dump render tree test for it to verify content other than <stop> or paint servers do not get rendered. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183477

Patch Set 1 #

Patch Set 2 : Add test png #

Patch Set 3 : Allow pservers as children #

Patch Set 4 : Patch for landing? #

Total comments: 1

Patch Set 5 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
A LayoutTests/svg/custom/gradient-containing-disallow-elements.svg View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A + LayoutTests/svg/custom/gradient-containing-disallow-elements-expected.png View 1 2 Binary file 0 comments Download
A LayoutTests/svg/custom/gradient-containing-disallow-elements-expected.txt View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceGradient.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceGradient.cpp View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (3 generated)
rwlbuis
PTAL
6 years, 2 months ago (2014-10-01 23:23:03 UTC) #2
pdr.
This is crazy, but this seems to be spec'd to allow for children that require ...
6 years, 2 months ago (2014-10-01 23:35:05 UTC) #3
rwlbuis
On 2014/10/01 23:35:05, pdr wrote: > This is crazy, but this seems to be spec'd ...
6 years, 2 months ago (2014-10-01 23:47:02 UTC) #4
pdr.
On 2014/10/01 at 23:47:02, rob.buis wrote: > On 2014/10/01 23:35:05, pdr wrote: > > This ...
6 years, 2 months ago (2014-10-01 23:49:29 UTC) #5
Erik Dahlström (inactive)
On 2014/10/01 23:49:29, pdr wrote: > On 2014/10/01 at 23:47:02, rob.buis wrote: > > On ...
6 years, 2 months ago (2014-10-02 13:42:42 UTC) #6
rwlbuis
On 2014/10/02 13:42:42, Erik Dahlström wrote: > On 2014/10/01 23:49:29, pdr wrote: > > On ...
6 years, 2 months ago (2014-10-02 14:08:10 UTC) #7
fs
On 2014/10/02 14:08:10, rwlbuis wrote: > On 2014/10/02 13:42:42, Erik Dahlström wrote: > > On ...
6 years, 2 months ago (2014-10-02 14:16:29 UTC) #8
rwlbuis
On 2014/10/02 14:16:29, fs wrote: > On 2014/10/02 14:08:10, rwlbuis wrote: > > I agree ...
6 years, 2 months ago (2014-10-02 14:31:05 UTC) #9
pdr.
Because this breaks compatibility across browsers and moves away from the spec, I'd prefer if ...
6 years, 2 months ago (2014-10-02 15:45:06 UTC) #10
krit
On 2014/10/02 15:45:06, pdr wrote: > Because this breaks compatibility across browsers and moves away ...
6 years, 2 months ago (2014-10-02 15:54:41 UTC) #11
rwlbuis
On 2014/10/02 15:54:41, krit wrote: > On 2014/10/02 15:45:06, pdr wrote: > > Because this ...
6 years, 2 months ago (2014-10-02 17:59:34 UTC) #12
pdr.
On 2014/10/02 at 17:59:34, rob.buis wrote: > On 2014/10/02 15:54:41, krit wrote: > > On ...
6 years, 2 months ago (2014-10-02 22:07:37 UTC) #13
rwlbuis
On 2014/10/02 22:07:37, pdr wrote: > On 2014/10/02 at 17:59:34, rob.buis wrote: > > On ...
6 years, 2 months ago (2014-10-03 17:56:40 UTC) #14
pdr.
On 2014/10/03 at 17:56:40, rob.buis wrote: > On 2014/10/02 22:07:37, pdr wrote: > > On ...
6 years, 2 months ago (2014-10-03 18:00:26 UTC) #15
rwlbuis
On 2014/10/03 18:00:26, pdr wrote: > On 2014/10/03 at 17:56:40, rob.buis wrote: > > On ...
6 years, 2 months ago (2014-10-03 18:03:30 UTC) #16
rwlbuis
On 2014/10/03 18:00:26, pdr wrote: > Thank you for looking into this. We should probably ...
6 years, 2 months ago (2014-10-07 14:40:30 UTC) #17
rwlbuis
On 2014/10/03 18:00:26, pdr wrote: > On 2014/10/03 at 17:56:40, rob.buis wrote: > > On ...
6 years, 2 months ago (2014-10-09 14:01:16 UTC) #18
rwlbuis
PTAL
6 years, 2 months ago (2014-10-09 14:02:23 UTC) #20
Erik Dahlström (inactive)
Spec should get updated soon, http://www.w3.org/2014/10/09-svg-minutes.html#item02 (brian has an action to drop the "paint server ...
6 years, 2 months ago (2014-10-09 14:42:58 UTC) #21
rwlbuis
On 2014/10/09 14:42:58, Erik Dahlström wrote: > Spec should get updated soon, > http://www.w3.org/2014/10/09-svg-minutes.html#item02 (brian ...
6 years, 2 months ago (2014-10-09 14:44:31 UTC) #22
fs
LGTM w/ trivial nit. https://codereview.chromium.org/622653003/diff/60001/Source/core/rendering/svg/RenderSVGResourceGradient.h File Source/core/rendering/svg/RenderSVGResourceGradient.h (right): https://codereview.chromium.org/622653003/diff/60001/Source/core/rendering/svg/RenderSVGResourceGradient.h#newcode54 Source/core/rendering/svg/RenderSVGResourceGradient.h:54: virtual bool isChildAllowed(RenderObject* child, RenderStyle*) ...
6 years, 2 months ago (2014-10-09 14:59:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622653003/80001
6 years, 2 months ago (2014-10-09 15:37:57 UTC) #25
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 16:40:54 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 183477

Powered by Google App Engine
This is Rietveld 408576698