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

Issue 1354923003: Remove kernelUnitLength plumbing (Closed)

Created:
5 years, 3 months ago by fs
Modified:
5 years, 3 months ago
CC:
blink-reviews, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), gyuyoung2, jbroman, Justin Novosad, kouhei+svg_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove kernelUnitLength plumbing 'kernelUnitLength' is not supported in Blink, and is deprecated in the spec [1][2][3]. Rip out the plumbing and (FilterEffect) storage for it, since it's dead code for practical purposes (see below though...) The svg/dynamic-updates/SVGFEConvolveMatrixElement-*-kernelUnitLength-* tests now actually show something because the kernelUnitLength of 0.05 no longer truncate to 0 and trigger an error. (0.05 should have been a valid value previously too.) The tests for negative kernelUnitLengths are dropped because they're no longer of any use. [1] https://drafts.fxtf.org/filters/#element-attrdef-feconvolvematrix-kernelunitlength [2] https://drafts.fxtf.org/filters/#element-attrdef-fediffuselighting-kernelunitlength [3] https://drafts.fxtf.org/filters/#element-attrdef-fespecularlighting-kernelunitlength (feSpecularLighting seems to be missing the Note, but it's the same as for feDiffuseLighting anyhow.) BUG=231613 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202601

Patch Set 1 #

Patch Set 2 : Doh #

Patch Set 3 : More TEs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -177 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
D LayoutTests/svg/filters/feConvolveMatrix-negative-kernelUnitLengthX.svg View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/svg/filters/feConvolveMatrix-negative-kernelUnitLengthX-expected.svg View 1 chunk +0 lines, -4 lines 0 comments Download
D LayoutTests/svg/filters/feConvolveMatrix-negative-kernelUnitLengthY.svg View 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/svg/filters/feConvolveMatrix-negative-kernelUnitLengthY-expected.svg View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.cpp View 4 chunks +1 line, -15 lines 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.cpp View 3 chunks +1 line, -7 lines 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.cpp View 1 3 chunks +2 lines, -8 lines 0 comments Download
M Source/platform/graphics/filters/FEConvolveMatrix.h View 4 chunks +4 lines, -10 lines 0 comments Download
M Source/platform/graphics/filters/FEConvolveMatrix.cpp View 4 chunks +3 lines, -20 lines 0 comments Download
M Source/platform/graphics/filters/FEDiffuseLighting.h View 2 chunks +2 lines, -8 lines 0 comments Download
M Source/platform/graphics/filters/FEDiffuseLighting.cpp View 3 chunks +5 lines, -34 lines 0 comments Download
M Source/platform/graphics/filters/FELighting.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/platform/graphics/filters/FELighting.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M Source/platform/graphics/filters/FESpecularLighting.h View 2 chunks +2 lines, -8 lines 0 comments Download
M Source/platform/graphics/filters/FESpecularLighting.cpp View 2 chunks +4 lines, -32 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
fs
I figured we weren't going to implement support for this any time "soon" (if at ...
5 years, 3 months ago (2015-09-21 11:24:13 UTC) #2
f(malita)
LGTM
5 years, 3 months ago (2015-09-21 12:43:26 UTC) #3
Stephen White
I'm a little hesitant to remove this, since I actually think it's quite important that ...
5 years, 3 months ago (2015-09-21 13:51:49 UTC) #4
Stephen White
Reading again, I didn't realize it has been deprecated in the spec. That seems unfortunate, ...
5 years, 3 months ago (2015-09-21 13:53:01 UTC) #5
fs
On 2015/09/21 at 13:53:01, senorblanco wrote: > Reading again, I didn't realize it has been ...
5 years, 3 months ago (2015-09-21 14:04:37 UTC) #6
Stephen White
On 2015/09/21 14:04:37, fs wrote: > It also says: "It does not provide a reliable ...
5 years, 3 months ago (2015-09-21 14:33:37 UTC) #7
fs
On 2015/09/21 at 14:33:37, senorblanco wrote: > On 2015/09/21 14:04:37, fs wrote: > > It ...
5 years, 3 months ago (2015-09-21 14:43:05 UTC) #8
pdr.
On 2015/09/21 at 14:43:05, fs wrote: > On 2015/09/21 at 14:33:37, senorblanco wrote: > > ...
5 years, 3 months ago (2015-09-21 17:44:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354923003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354923003/40001
5 years, 3 months ago (2015-09-21 17:49:08 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 20:08:59 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=202601

Powered by Google App Engine
This is Rietveld 408576698