haikuwebkit/LayoutTests/fast/hidpi/broken-image-with-size-hidp...

20 lines
607 B
HTML

<html>
<script>
function startTest() {
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.setBackingScaleFactor(2, finishTest);
}
}
function finishTest() {
setTimeout(function() { testRunner.notifyDone(); }, 0);
}
</script>
</head>
<body onload="startTest();">
<div>This test passes if the broken image icon appears high-resolution in HiDPI and is the appropriate size.</div>
<img src="not-there.png" width=300 height=150></img>
</body>
</html>