Re: [csswg-drafts] [web-animations-2] Enable using Web Animations API with nested pseudo elements (#7469)

> If a pattern to select the first matching pseudo element seems like a footgun, we could also require that the selector should match a single element and consider it invalid if it matches more than 1. @jakearchibald any concerns with this idea?

I think we can say it acts like `querySelector`, where it matches the first element even if there are many matches.

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


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

Received on Wednesday, 20 July 2022 10:39:02 UTC