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

Issue 1366903002: Make error-handling for feColorMatrix consistent (Closed)

Created:
5 years, 2 months ago by fs
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make error-handling for feColorMatrix consistent After/with https://codereview.chromium.org/1087283002, error-handling for feColorMatrix will differ based on when the error occured (in "initial" content, or through later script mutation; "initial" meaning the state on first paint). Align the two different code-paths by removing error-handling entirely from one of them (SVGFEColorMatrixElement::build) building on the CL mentioned above. Also take this opportunity to align our error-handling behavior with Gecko: * Excess 'values' for type='matrix' => use identity * Excess 'values' for type='saturate'/'huerotate' => use identity The test svg/filterS/feColorMatrix-values.svg is updated to reflect the above, and is converted to a ref-test while at it. Tweak the DRT output for FEColorMatrix to only output 'values' if they are valid and actually used. BUG=534763, 533457 TBR=senorblanco@chromium.org,fmalita@chromium.org Committed: https://crrev.com/e24b4c8d9dec1cb492d8a3e14d465329dd426a77 Cr-Commit-Position: refs/heads/master@{#350607}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -509 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +8 lines, -0 lines 2 comments Download
D third_party/WebKit/LayoutTests/platform/linux/svg/filters/feColorMatrix-values-expected.png View Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/linux/svg/filters/feColorMatrix-values-expected.txt View 1 chunk +0 lines, -108 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/svg/filters/feColorMatrix-values-expected.png View Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/svg/filters/feColorMatrix-values-expected.txt View 1 chunk +0 lines, -108 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win-xp/svg/filters/feColorMatrix-values-expected.txt View 1 chunk +0 lines, -108 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/svg/filters/feColorMatrix-values-expected.png View Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/svg/filters/feColorMatrix-values-expected.txt View 1 chunk +0 lines, -108 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/filters/feColorMatrix-values.svg View 2 chunks +26 lines, -42 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/filters/feColorMatrix-values-expected.svg View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp View 1 chunk +1 line, -30 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.cpp View 4 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
fs
5 years, 2 months ago (2015-09-24 16:17:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366903002/1
5 years, 2 months ago (2015-09-24 16:18:30 UTC) #4
Stephen White
LGTM https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode177 third_party/WebKit/LayoutTests/TestExpectations:177: crbug.com/534763 css3/filters/effect-reference-hw.html [ NeedsRebaseline ] How are these ...
5 years, 2 months ago (2015-09-24 16:19:58 UTC) #5
f(malita)
LGTM 2
5 years, 2 months ago (2015-09-24 16:24:07 UTC) #6
fs
https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode177 third_party/WebKit/LayoutTests/TestExpectations:177: crbug.com/534763 css3/filters/effect-reference-hw.html [ NeedsRebaseline ] On 2015/09/24 at 16:19:57, ...
5 years, 2 months ago (2015-09-24 16:30:33 UTC) #7
Stephen White
On 2015/09/24 16:30:33, fs wrote: > https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/1366903002/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode177 > ...
5 years, 2 months ago (2015-09-24 17:21:36 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-09-24 18:12:37 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-09-24 18:14:08 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e24b4c8d9dec1cb492d8a3e14d465329dd426a77
Cr-Commit-Position: refs/heads/master@{#350607}

Powered by Google App Engine
This is Rietveld 408576698