W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Aug 2021 12:51:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-908315479-1630327876-sysbot+gh@w3.org>
> 1. used value or computed value? fantasai says either, frivoal says used.

I think right now this is a used-value time operation in Gecko, it's not only theoretical. e.g. the selection background might be inverted based on contrast with the closest non-transparent background color. That's something pretty hard to do at computed value time, if possible at all.

>  3. ::selection only or all highlights (spec says ::selection)? fantasai defers to impls, i say all (weakly), @emilio?

I think conceptually all, but same concerns about performance apply to this approach (to `::selection` as well).

>  5. specified by whom (spec says author)? i say all, appearance impls converging on author/animation/transition.

Wdym with "all" here? "author/animation/transition"? Or something else? I think that makes the most sense.

>  6. should unset count as specified (in css-cascade terms, 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.

I agree with @andruud here, I think. `unset` is a value specified by the author. It's the same as the author specifying the initial value for non-inherited properties, or `inherit` for inherited ones. `revert` explicitly reverts to the previous origin.

GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6386#issuecomment-908315479 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:51:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:43 UTC