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

>  The only other "reasonable" behaviour I can think of on the spot is that the name would only be valid inside that scope or override any definition from an outer scope, but that also seems like it could get incredibly confusing really quickly.

Surely that's the author's intent though? If a `@font-face` is defined in a scope, it's presumably because they only intended it to apply within that scope - when the scope ends, the rule no longer applies? I do realise this makes it a much harder problem.

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


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

Received on Tuesday, 4 March 2025 09:54:55 UTC