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

> I think the problem with the name `active-view-transition` is the confusion on what actually goes in the argument.

Something like `:active-view-transition(type: <ident>)` would make this more clear, but I don’t think there’s a precedent in CSS that would allow named arguments in selectors. Also would not make sense to require the name if a-v-t only accepts 1 argument over time.

> A beginner mistake would be to put a view-transition-name instead of the transition `type` for instance.
> These kinds of mistakes on "similar but not quite exact things" are very easy to make by beginners.

That looks like something for DevRel / documentation to clear up.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9972#issuecomment-1956208154 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 09:17:02 UTC