News for hackers. Stuff that matters.
Re:WebKit Supports Nested CSS by culi on Wednesday February 15, 2023 @11:46PM (#34815144)
Very interesting and exactly what I was curious about! Thanks for the links

Really curious about the reasoning behind that initial quirk

Re:WebKit Supports Nested CSS by TabAtkins on Thursday February 16, 2023 @12:08PM (#34821523)
Depending on the exact parsing strategy it might be genuinely required (such as if the parser switches from "property mode" to "rule mode" at some point), but in this case it was just because it's kinda confusing to do so.

We removed the restriction, but still warn against it due to readability issues.