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

> So if the cascaded value is `inherit`, then it doesn't inherit from the parent highlight? It inherits from the originating element?

Interesting @Loirooriol, that didn’t even cross my mind. I agree that inherit should use the parent highlight just like we do for defaulting, I guess this is worth clarifying in the spec.

> (Context for `revert` reverting to native UA rendering: [#4777 (comment)](https://github.com/w3c/csswg-drafts/issues/4777#issuecomment-597755164))

Thanks for that! So from reading that, in appearance, both Blink and Gecko treat unset as specified and revert as not-specified, and andruud argues that this was a good choice there. As for specified by whom, Gecko does author or animation or transition, while Blink currently does author only (but we intend to align with Gecko). No one has said anything about the user origin.

Of course, none of these details about appearance are really specified, but ultimately we want to figure out how to avoid having two concepts of “native/UA-default if specified” in our impl.

To recap without the “uncontested” stuff, we’re left with these opinions so far:

1\. used value or computed value? fantasai says either, frivoal says used.
3\. ::selection only or all highlights (spec says ::selection)? fantasai defers to impls, i say all (weakly), @emilio?
5\. specified by whom (spec says author)? i say all, appearance impls converging on author/animation/transition.
6\. should unset count as specified ([in css-cascade terms](https://www.w3.org/TR/css-cascade-4/#inherit-initial), yes means “treated as inherit/initial” wins, no means “effectively erases” wins)? fantasai says no, andruud says yes.
8\. should revert count as specified? fantasai says no, andruud says no.

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


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

Received on Monday, 30 August 2021 12:43:33 UTC