Re: [csswg-drafts] [css-color-5] Add `currentBackgroundColor` Variable (#5292)

@una Ah so you want it to be inherited somehow? That's not what I would expect for the name of `currentBackgroundColor`, and there comes more complexity...

Firstly, all elements have background color even if you do not specify. It's `transparent`. Are you proposing that we simply ignore that specific value? Or are you proposing we only use the background color if there is a cascaded value? Either way that would work differently from what `currentcolor` does... likely in a worse way.

For your specific example, actually, `button` usually comes with a default background, are you proposing some mechanism to ignore non-author rules maybe?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 November 2020 21:11:33 UTC