blob: b5829d4da5d12c15bcec463fe23c9c3241bea701 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html>
<head>
<title>Stylesheet in BODY blocking scripts</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="testlib/testlib.js"></script>
</head>
<body>
<div id="test">Test</div>
<!-- this stylesheet blocks scripts -->
<link rel="stylesheet" href="css/background.css?pipe=trickle(d2)">
<script>
test(function() {
assert_equals(getComputedStyle(document.getElementById("test")).position,
"fixed");
});
</script>
</body>
</html>
|