Re: [csswg-drafts] [selectors] Backwards combinators (#12453)

Okay, I'm now on the same page as Lea, Oriol, and Tab regarding the desugaring. In case it helps anyone else, what got me over the hump was translating the selector into English and back.

Original: `A B < C D`

In English, read right to left: Match D, which has an ancestor C, which has a child B, which has an ancestor A.

Desugared: `C:has(>:is(A B)) D`

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


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

Received on Thursday, 10 July 2025 23:41:46 UTC