blob: 3b2e8b52967746bf9bcc5c39d3791e3a41274630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Stylesheet in XHTML HEAD with @import blocking scripts</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="testlib/testlib.js"></script>
<!-- this stylesheet blocks scripts -->
<link rel="stylesheet" href="css/import.css?pipe=trickle(d2)" />
</head>
<body>
<div id="test">Test</div>
<script>
test(function() {
assert_equals(getComputedStyle(document.getElementById("test")).position,
"fixed");
});
</script>
</body>
</html>
|