Re: [csswg-drafts] [selectors][css-transitions-2] `:starting-style` pseudo-class (#10356)

I agree that using a pseudo-class instead of an at-rule would be better for deduplication of style rules. This was decided here: https://github.com/w3c/csswg-drafts/issues/8174

It looks like the original proposal was a pseudo-class but was changed to an at-rule. I'm not sure if it was due to developer ergonomics, restrictions on what you can put inside of the pseudo-class, ease of implementation/spec, or some combination of the 3.

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


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

Received on Monday, 20 May 2024 20:24:27 UTC