Re: [csswg-drafts] [selectors-4] Clarity about whitespace between `:nth-child()`'s "of" and "S" (#8285)

@fantasai @tabatkins Is there a reason to not require one? WebKit requires one, and although it'd be easy to change that, I think that'd be unfortunate.

The fact that `:nth-child(1 ofdiv)` is invalid, but `:nth-child(1 of.div)` is valid, feels a bit off to me. Though looking at @zrhoffman's testcase, I guess one use-case is adding a comment between the `of` and the selector.


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


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

Received on Sunday, 8 January 2023 08:22:11 UTC