Re: [csswg-drafts] [css-selectors] :first-assigned / :last-assigned / :nth-assigned (#6620)

Just ran into this, but i figured out a workaround: `::slotted(:nth-child(1 of :not([slot])))`. This only matches the first child in the default slot.

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


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

Received on Friday, 23 August 2024 11:38:43 UTC