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

Issue 552683002: Don't transition a property that is currentColor when color changes (Closed)

Created:
6 years, 3 months ago by Timothy Loh
Modified:
6 years, 3 months ago
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, dstockwell, darktears, Steve Block, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@cc
Project:
blink
Visibility:
Public.

Description

Don't transition a property that is currentColor when color changes As per css3-color[1], currentColor is not resolved at computed value time. This means that we shouldn't fire a transition when a property is set to currentColor, even if the used value changes. Note we still transition between currentColor and actual colours, which is likely to be fine by css4-color, which adds a blending primitive. [1] http://www.w3.org/Style/2011/REC-css3-color-20110607-errata.html BUG=394632 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181546

Patch Set 1 #

Patch Set 2 : tweak test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -18 lines) Patch
A LayoutTests/transitions/transition-currentcolor.html View 1 1 chunk +27 lines, -0 lines 0 comments Download
M Source/core/animation/css/CSSPropertyEquality.cpp View 7 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Timothy Loh
I suspect this is slightly inconsistent with other uses of color (shadows, filters, gradients), but ...
6 years, 3 months ago (2014-09-08 06:25:35 UTC) #2
alancutter (OOO until 2018)
lgtm assuming there's a test somewhere that checks the values used to transition between currentcolor ...
6 years, 3 months ago (2014-09-08 06:41:41 UTC) #3
Timothy Loh
On 2014/09/08 06:41:41, alancutter wrote: > lgtm assuming there's a test somewhere that checks the ...
6 years, 3 months ago (2014-09-08 07:04:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/552683002/20001
6 years, 3 months ago (2014-09-08 07:05:41 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/57739)
6 years, 3 months ago (2014-09-08 07:25:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/552683002/20001
6 years, 3 months ago (2014-09-08 08:19:09 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 08:58:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181546

Powered by Google App Engine
This is Rietveld 408576698