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

Sorry if my previous comment was a bit sloppy.

The final layer ordering should be `a.reset, a, b.reset, b`. The equivalent all-in-one sheet after importing and layer-reordering is:

```
contents of reset.css
remaining contents of a.css
contents of reset.css
remaining contents of b.css
remaining contents of the main style sheet
```

Here `reset.css` is applied twice, and some of `a.css` may be reset.

-- 
GitHub Notification of comment by xiaochengh
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6130#issuecomment-1973004308 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:18:09 UTC