Re: [csswg-drafts] [CSS Import Once] @import-once, or some syntax for importing a stylesheet only once (#6130)

> Then the import order is still reset, a, reset, b, causing the double-reset issue as in the original example.

I don't think this is correct.

Any imports in an already layered stylesheet would be further layered.
So that would be `a.reset` and `b.reset`.

Layer names are global but you cannot define layers outside your own layer and you cannot place styles in another layer that is not your own.

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


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

Received on Friday, 1 March 2024 11:07:56 UTC