Re: [csswg-drafts] [css-cascade-6] A way for <style> elements to scope to their parent element (#6606)

Regarding the issue of not wanting CSS to apply to all child elements, or "toroidal css", is that not a separate issue from local scoping?  It feels as if it should be possible to define selectors indicating "style this element but not its children" (non-inherited styles) or "style this element like its parent" (explicit inheritance of normally non-inherited styles) but that trying to combine inheritance constraints with local scoping makes things complicated.

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


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

Received on Monday, 1 November 2021 08:35:29 UTC