Re: [csswg-drafts] [css-nesting] Inserting new sub-rules with .style (#7933)

> > paving the way for nested inline styles too.
> 
> I hate to repeat myself, but we are unlikely to implement this, at least in a form that is not strongly restricted. (I cannot speak for Gecko and WebKit, but both have already signaled worries about CSSOM complexity as I understand it, so increasing it further might not be the best course of action.)

Given that many things that were previously hard to implement are currently being implemented, I'd be wary of choosing a CSSOM design that excludes this possibility. That would mean that once we *do* have nested inline styles, we'd end up with an inconsistent CSSOM.

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


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

Received on Friday, 21 October 2022 18:49:11 UTC