As per the large https://github.com/whatwg/html/pull/4031, it is now well-specified that the load event should be fire before the Document's script-blocking style sheet counter [1] is decremented, and scripting is unblocked. Currently Safari and Chrome fire load/error events sometime after the pending parsing-blocking script is run, which is confusing and now against the spec. Note: Firefox behaves correctly here. Also note: The task source for the <link> load/error events has changed from the DOM manipulation task source to the networking task source too. WPTs for this are available at: https://github.com/web-platform-tests/wpt/pull/14899. ---- [1]: http://html.spec.whatwg.org/multipage/semantics.html#script-blocking-style-sheet-counter.
<rdar://problem/47364258>