Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-backgrounds] <color> in <shadow> should default to currentcolor #2766
Currently the spec says:
It seems to behave like
(It's not clear to me whether it should go to level 3 or 4.)
The Working Group just discussed
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