blob: 3f8b91adf7f248f95fa02155abef73226a6e82dd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Parser blocking stylesheet in xhtml 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>