- From: Jeffrey Yasskin <notifications@github.com>
- Date: Wed, 23 Oct 2024 16:05:22 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 October 2024 23:05:26 UTC
I think resource fetching ought to be deduplicated between all of `<link>`, `<style src>`, CSS `@import`, and JS `import`, unless that's not web-compatible for some reason. We thought the existing `@sheet` design made sense as the way to inline style in the HTML response without immediately applying it to the page. There was some discussion about whether the platform might be able to avoid adding the `adoptedStylesheets` attribute and instead somehow use `<link rel=stylesheet href="#sheetName">`, but none of the obvious ways to do that (e.g. `<style id=sheetName some-attribute-that-prevents-immediate-application>` or `<script type=text/css id=sheetName>`) seemed clearly better than adding the attribute to `<template>`. -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/1000#issuecomment-2433714302 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/1000/2433714302@github.com>
Received on Wednesday, 23 October 2024 23:05:26 UTC