- From: Psychpsyo (Cameron) via GitHub <noreply@w3.org>
- Date: Thu, 03 Jul 2025 23:18:57 +0000
- To: public-css-archive@w3.org
> What happens if `e1 /idref(for)/ e2` references a parent e1 descends ? Going by [the current spec](https://drafts.csswg.org/selectors-5/#idref-combinators) for this: 1. It'd be `e1 /for/ e2`. 2. Parent-child relationships do not affect this at all. If `e1` has a `for` attribute and the element that that points to matches `e2`, then `e1 /for/ e2` matches the element that matched `e2`. (IF the `for` attribute is an IDREF. So e1 would have to be a `label`.) -- GitHub Notification of comment by Psychpsyo Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10970#issuecomment-3033926019 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 July 2025 23:18:58 UTC