Re: Using preload for "async" CSS by changing `rel` trick

On Tue, Jan 16, 2018 at 7:40 PM, Chris Harrelson <chrishtr@chromium.org> wrote:
> Why not? If the DOM is modified, it should apply its updates on the next
> frame, no?

Making the load event synchronous just if the style sheet happens to
be in a cache seems like a bad API. You effectively change the API
contract of <link> based on an externality.

Furthermore, it would introduce all the problems we're trying to get
rid of by removing synchronous mutation events (at least all of the
problems related to synchronous insertion mutation events).


-- 
https://annevankesteren.nl/

Received on Wednesday, 17 January 2018 10:36:33 UTC