Re: [csswg-drafts] [css-cascade-6] Add ability to scope rules from an imported stylesheet (#7348)

@DarkWiiPlayer @fantasai

> I think an easier way of handling scope in HTML would simply be:
> 
> <link rel="stylesheet" href="module.css" scope=".media-object to .content">

It doesn't mean what you seem to think, but rather elements with class `content` having an ancestor of type `to` having an ancestor with class `media-object`.

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


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

Received on Saturday, 8 February 2025 04:07:24 UTC