Re: [csswg-drafts] [selectors-4] Add pseudo-class to establish before-change style for css-transitions on new elements. (#8174)

I have done a prototype of :initial in Chrome with the following restrictions:

- Parses, but always fail matching if not in subject
- Parses, but always fail matching inside matches-any selectors like :is(), :where(), :has(), :not().
- Allowed after tree-abiding pseudo elements (::before, ::after, ::marker, ::placeholder, ::file-selector-button)
- Allowed after ::part()
- Allowed inside ::slotted()
- Allowed inside :host()
- Parse error after other pseudo elements


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


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

Received on Wednesday, 15 February 2023 11:49:08 UTC