Re: [csswg-drafts] [css-pseudo] clarify paired-cascading behavior (#6386)

(summary for meeting)

> Highlights have special logic for the UA’s default ‘color’ and ‘background-color’, where setting one suppresses the default for the other at used value time. This is for compatibility with pre-spec ::selection.
>
> In this issue, I had several questions about the way this was worded, but we’ve since reached consensus on everything except what origins should suppress the UA’s default highlight colors. So the ones in question are the animation/transition origins, and the user origin. Should we talk about one at a time?
>
> For animation/transition, I believe suppressing UA defaults is good, if only for consistency with the similar concept of “specified by the author” in ‘appearance’. But ‘animation’ and ‘transition’ aren’t even applicable properties for highlights, so I’m actually not sure it matters? Do we put them in the spec, or comment them out like we’ve done for ‘outline’, or...?
>
> For user origin, we basically want to decide whether the user can set one highlight color and keep the other as the default, or whether setting one highlight color makes the other one default to initial. But either way, doing so also makes things a bit weird from the author’s perspective, so I also want to make sure we’re ok with that.

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


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

Received on Wednesday, 8 December 2021 16:53:19 UTC