Re: [csswg-drafts] [css-nesting] Problem with mixing properties and selectors (#8249)

> A Google search for "CSS star hack" returns 9.8 million results.

@jensimmons That may be the case for `*`, but the claim did cover several other symbols like `+`. I'm not aware of `+` being frequently prepended to declarations, and I'm still not seeing any data showing that.

> It would however break for selectors like `a:hover`

@FremyCompany I'm afraid this would just cause further confusion, and authors would rightly complain about the CSS design making no sense.

> This will reduce the burden while converting stylesheets to nested rules quite a lot

Why should this be a goal at all? Existing stylesheets can stay as-is.

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


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

Received on Tuesday, 17 January 2023 16:14:10 UTC