Re: [csswg-drafts] [css-nesting-1] Yet another nesting proposal (Option 5) (#7970)

> 1. That doesn't remove the lookahead, the parser can't tell if it's parsing a regular style rule or a nesting container until it finds the `{{`. They are completely different objects in the OM so the parser needs to know ASAP.

FWIW, despite everything that I don't like about this proposal, lookahead wouldn't be a problem for Blink here from what I can see. We know we're parsing a selector, so we don't have to backtrack when we see the `{{` (we just have to use the selector for “something else” instead of a regular style rule).

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


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

Received on Tuesday, 6 December 2022 09:43:35 UTC