Re: [csswg-drafts] [css-view-transitions-2] Rename `:active-view-transition()` pseudo-class (#9972)

I’m OK with requiring an argument in the pseudo-class. Draws a parallel with the pseudo-elements

Don’t like the suggested `view-transition-type` as a name, as that would imply that you _must_ set a type before it can ever match (`*` is not the same as `null`).

What about a merger of both? I.e. allowing (requiring) an argument to `:active-view-transition`:
- `:active-view-transition(*)`
- `:active-view-transition(type)`

That would also need some specificity-rules like what we did with the pseudos.
- `*` = add 0,0,0
- Anything but `*` = add 0,0,1

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


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

Received on Wednesday, 21 February 2024 08:40:59 UTC