Re: [csswg-drafts] [css-mediaqueries] Expose User Preference Media Queries as HTTP Client Hint or HTTP Header (#4162)

It is correct / intended probably, as the load of the outer `<style>` element blocks rendering, since it has no `media` attribute.

```
<!doctype html>
<style>
  @import url("https://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=2&mime=text%2Fcss&text=body{color:red}") print;
</style>
Should see me after two seconds.
```

It could probably be optimized to not block rendering, though it probably requires spec changes.

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

Received on Thursday, 5 September 2019 12:59:21 UTC