Re: [csswg-drafts] [selectors] `/idref()/` combinator to follow element references for arbitrary IDREF attributes (#10970)

On a page with only `input` and `label` (and no other elements using a `for` attribute), I assume that `label /idref(for)/ input` and `[for] /idref(for)/ *` and `* /idref(for)/ *` would all match the same elements. Are the `*` necessary or would it suffice to write just `/idref(for)/`?

Would the more specific `/for/` also match inputs wrapped in a label?

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


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

Received on Monday, 7 July 2025 18:03:59 UTC