You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-backgrounds] <color> in <shadow> should default to currentcolor #2766
Specifies the color of the shadow. If the color is absent, the used color is taken from the color property.
It seems to behave like currentcolor nowadays, but it would have different behavior in terms of interpolating. I think we should probably make it default to currentcolor instead. I see no reason we need a separate no-color value case.
(It's not clear to me whether it should go to level 3 or 4.)
The Working Group just discussed <color> in <shadow> should default to currentColor, and agreed to the following:
RESOLVED: Accept the proposal
RESOLVED: drop-shadow and shadow will also default to currentColor
The full IRC log of that discussion
<myles> Topic: <color> in <shadow> should default to currentColor
<myles> Github: https://github.com//issues/2766
<myles> Fantasai: any objections?
<chris> rrsagent, here
<RRSAgent> See https://www.w3.org/2018/07/03-css-irc#T23-20-25
<myles> Rossen: We need to make sure the people who care have a chance to look
<myles> xidorn: the issue is that if it isn’t specify, the used color is taken from the current property
<myles> xidorn: I think the text should just be “it defaults to currentColor”
<myles> dbaron: the spec may have evolved from something that was more flexible
<myles> chris: let’s say it’s user defined
<myles> Rossen: are we okay with the proposed resolution?
<myles> Rossen: any objections? <silence> resolved
<chris> s/let/(sarcastically) let/
<myles> RESOLVED: Accept the proposal
<Rossen> s/Accept the proposal/<color> in <shadow> should default to currentcolor
<myles> chris: There’s also the same problem with drop-shadow as well as shadow
<myles> leaverou: it doesn’t work that way already?
<myles> Rossen: any additional comments?
<myles> Rossen: <silence> Any objections?
<myles> RESOLVED: drop-shadow and shadow will also default to currentColor
Activity
svgeesus commentedon Jun 14, 2018
When we get agreement on this, it would be a change to color 4 and an erratum on color 3.
upsuper commentedon Jun 20, 2018
Let's put it into agenda... but next telecon is not apac timezone one which can be hard for me to take part in so maybe sydney f2f...
upsuper commentedon Jun 20, 2018
This also affects
drop-shadow()in Filter Effects, which has similar statement:It should use currentcolor as well, I suppose.
svgeesus commentedon Jul 2, 2018
I agree that referencing
currentColoris the correct way to go here for bothshadowanddrop-shadow().css-meeting-bot commentedon Jul 3, 2018
The Working Group just discussed
<color> in <shadow> should default to currentColor, and agreed to the following:RESOLVED: Accept the proposalRESOLVED: drop-shadow and shadow will also default to currentColorThe full IRC log of that discussion
<myles> Topic: <color> in <shadow> should default to currentColor<myles> Github: https://github.com//issues/2766
<myles> Fantasai: any objections?
<chris> rrsagent, here
<RRSAgent> See https://www.w3.org/2018/07/03-css-irc#T23-20-25
<myles> Rossen: We need to make sure the people who care have a chance to look
<myles> xidorn: the issue is that if it isn’t specify, the used color is taken from the current property
<myles> xidorn: I think the text should just be “it defaults to currentColor”
<myles> dbaron: the spec may have evolved from something that was more flexible
<myles> chris: let’s say it’s user defined
<myles> Rossen: are we okay with the proposed resolution?
<myles> Rossen: any objections? <silence> resolved
<chris> s/let/(sarcastically) let/
<myles> RESOLVED: Accept the proposal
<Rossen> s/Accept the proposal/<color> in <shadow> should default to currentcolor
<myles> chris: There’s also the same problem with drop-shadow as well as shadow
<myles> leaverou: it doesn’t work that way already?
<myles> Rossen: any additional comments?
<myles> Rossen: <silence> Any objections?
<myles> RESOLVED: drop-shadow and shadow will also default to currentColor
[css-backgrounds-3] Missing <shadow> color defaults to currentColor (…