blob: 5b9f090b15babf296647fce3d705867d03eb1893 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>Parser blocking stylesheet in head</title>
<link rel="help" href="https://github.com/chrishtr/rendering/blob/master/stylesheet-loading-proposal.md">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
async_test(t => {
t.step_timeout(() => {
assert_equals(document.querySelector("#after-sheet"), null, "#after-sheet element should not have been inserted into the DOM.");
t.done();
}, 100);
}, "setTimeout() triggered while the stylesheet is loading.");
</script>
<link rel="stylesheet" href="support/empty.css?pipe=trickle(d1)">
<meta id="after-sheet"></meta>
</head>
<body>
</body>
</html>