- From: Alex Russell <notifications@github.com>
- Date: Sat, 07 Apr 2018 03:42:07 +0000 (UTC)
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 7 April 2018 03:43:10 UTC
So it isn't actually clear that you can polyfill this for CSS. Is it possible to actually get access to all of the bytes for all `@import`'d resources in a CSS file? What if they're x-origin but not CORS'd? There are likely similar problems for JS. I agree that `fetch()` feels weird here, but I'm not sure where else to do this. Perhaps one way to think about it is, instead of an option to `fetch()`, it could be something we teach `Body` about?: ```js let sheet = await fetch("sheet.css"); let deps = await sheet.dependencies(); // an iterable of URLs? IDK. ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/213#issuecomment-379429321
Received on Saturday, 7 April 2018 03:43:10 UTC