26 lines
807 B
HTML
26 lines
807 B
HTML
<!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>
|