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

Issue 1194733002: Adding the 'filter' context attribute to 2D canvas (Closed)

Created:
5 years, 6 months ago by Justin Novosad
Modified:
5 years, 5 months ago
Reviewers:
Stephen White
CC:
blink-reviews, szager+layoutwatch_chromium.org, vivekg_samsung, dshwang, eae+blinkwatch, fs, vivekg, kouhei+svg_chromium.org, rwlbuis, krit, arv+blink, blink-reviews-html_chromium.org, dglazkov+blink, Rik, jchaffraix+rendering, blink-reviews-paint_chromium.org, gyuyoung2, pdr+svgwatchlist_chromium.org, zoltan1, blink-reviews-rendering, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, slimming-paint-reviews_chromium.org, f(malita), Inactive, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Adding the 'filter' context attribute to 2D canvas BUG=501642 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197938

Patch Set 1 #

Patch Set 2 : \o/ #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : some corrections #

Patch Set 5 : fixing some tests #

Patch Set 6 : fixed unit test #

Patch Set 7 : Failure -> ImageOnlyFailure #

Total comments: 14

Patch Set 8 : applied corrections #

Unified diffs Side-by-side diffs Delta from patch set Stats (+605 lines, -33 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/filter-property-computed-style-expected.txt View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/css3/filters/script-tests/filter-property-computed-style.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-default-color.html View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-default-color-expected.html View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-drop-shadow.html View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-drop-shadow-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-drop-shadow-transformed.html View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-drop-shadow-transformed-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-global-alpha.html View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-global-alpha-expected.html View 1 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-global-composite-operation.html View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-global-composite-operation-expected.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-liveness.html View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-liveness-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-multiple-drop-shadows.html View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-multiple-drop-shadows-expected.html View 1 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-shadow.html View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-shadow-expected.html View 1 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-bbox.html View 1 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-bbox-expected.html View 1 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-inline.html View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-inline-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-liveness.html View 1 1 chunk +68 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-liveness-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-off-screen.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-svg-off-screen-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units.html View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-em.html View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-em-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-ex.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-ex-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-off-screen.html View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-units-off-screen-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-value.html View 1 1 chunk +39 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-filter-value-expected.txt View 1 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/css/resolver/FilterOperationResolver.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 3 4 5 6 7 3 chunks +53 lines, -12 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2DState.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2DState.cpp View 1 2 3 4 5 6 7 8 chunks +52 lines, -1 line 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/paint/FilterEffectBuilder.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/FilterEffectBuilder.cpp View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/style/ComputedStyle.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (2 generated)
Justin Novosad
WIP: there is a bug with blur and drop shadow radii, and I still have ...
5 years, 6 months ago (2015-06-19 00:48:28 UTC) #2
Justin Novosad
New patch.
5 years, 6 months ago (2015-06-22 06:17:53 UTC) #3
Stephen White
https://codereview.chromium.org/1194733002/diff/40001/Source/core/css/resolver/FilterOperationResolver.cpp File Source/core/css/resolver/FilterOperationResolver.cpp (right): https://codereview.chromium.org/1194733002/diff/40001/Source/core/css/resolver/FilterOperationResolver.cpp#newcode186 Source/core/css/resolver/FilterOperationResolver.cpp:186: Color shadowColor = Color::black; As discussed, it would be ...
5 years, 6 months ago (2015-06-22 15:28:54 UTC) #4
Justin Novosad
New patch On 2015/06/22 15:28:54, Stephen White wrote: > https://codereview.chromium.org/1194733002/diff/40001/Source/core/css/resolver/FilterOperationResolver.cpp > File Source/core/css/resolver/FilterOperationResolver.cpp (right): > ...
5 years, 6 months ago (2015-06-23 15:06:28 UTC) #5
Stephen White
https://codereview.chromium.org/1194733002/diff/120001/LayoutTests/fast/canvas/canvas-filter-default-color.html File LayoutTests/fast/canvas/canvas-filter-default-color.html (right): https://codereview.chromium.org/1194733002/diff/120001/LayoutTests/fast/canvas/canvas-filter-default-color.html#newcode5 LayoutTests/fast/canvas/canvas-filter-default-color.html:5: ctx.filter = 'drop-shadow(0 10px)'; Nit: 0 -> 0px https://codereview.chromium.org/1194733002/diff/120001/LayoutTests/fast/canvas/canvas-filter-drop-shadow-transformed.html ...
5 years, 6 months ago (2015-06-25 18:30:27 UTC) #6
Justin Novosad
New Patch. Applied all suggested corrections.
5 years, 5 months ago (2015-06-26 18:58:25 UTC) #7
Stephen White
LGTM. Really excited to see this go in!
5 years, 5 months ago (2015-06-26 19:25:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1194733002/140001
5 years, 5 months ago (2015-06-26 19:34:13 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-06-26 20:12:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197938

Powered by Google App Engine
This is Rietveld 408576698