- From: Kevin Babbitt via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Feb 2025 20:21:57 +0000
- To: public-css-archive@w3.org
On deduplication - there is existing spec text, so we may be constrained for `@import` at least. I don't have a specific objection to changing the behavior if it would be web-compatible to do so, just wanted to note it as a consideration. https://www.w3.org/TR/css-cascade-3/#import-processing > When the same style sheet is imported or linked to a document in multiple places, user agents must process (or act as though they do) each link as though the link were to an independent style sheet. > > Note: This does not place any requirements on resource fetching, only how the style sheet is reflected in the CSSOM and used in specs such as this one. Assuming appropriate caching, it is perfectly appropriate for a UA to fetch a style sheet only once, even though it’s linked or imported multiple times. There's also a proposal for `@import-once` and discussion of related issues in #6130 which might be relevant here. -- GitHub Notification of comment by kbabbitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11509#issuecomment-2657632448 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 February 2025 20:21:58 UTC