Re: [csswg-drafts] [css-color-4] backgroundColor

I agree that your both usecases are valid, but I don't think using 
`backgroundColor` is the right path to get them, because

1. that doesn't work if the background is not a pure color
2. adding another color keyword which depends on other property adds 
much complexity to implementation (`currentColor` is already a thing 
no engine has implemented thoroughly yet, and it hasn't even been 
specced perfectly. You couldn't expect `backgroundColor` to be a 
trivial thing for engines to implement)

So it's neither simple nor useful enough.

I guess we may need some other new mechanism to address the usecases, 
but I have no idea what that would look like.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/364#issuecomment-237151348 
using your GitHub account

Received on Wednesday, 3 August 2016 06:14:56 UTC