blob: 3a787db3d78ddd6c63dec4a69462ca2dd68f3491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title></title>
<link rel="stylesheet" href="resources/stylesheet.css">
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
var target = document.getElementById("target");
var style = getComputedStyle(target);
target.innerText = style.position == "relative" ? "SUCCESS" : "FAIL";
}
</script>
</head>
<body onload="test()">
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=17328">Bug
17328: REGRESSION (r30147): Inspector is unstyled on Windows</a>. Testing
that a local <tt>.css</tt> file is allowed as a stylesheet in strict
mode.</p>
<p id="target"></p>
</body>
</html>
|