haikuwebkit/LayoutTests/fast/events/resources/no-blur-result.html

25 lines
530 B
HTML

<script>
function test()
{
if (window.location.hash == "#FAILED")
document.getElementById("succeededDiv").setAttribute("style", "display:none;");
else
document.getElementById("failedDiv").setAttribute("style", "display:none;");
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body onload="test();">
<div id="succeededDiv">
<span style="color:green;">SUCCESS</span>
</div>
<div id="failedDiv">
<a name="FAILED"><span style="color:red;">FAILED</span></a>
</div>
</body>