blob: 63a844165b9697af7ec06c695403a9c829cb271b [file] [log] [blame]
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<img id="image" lowsrc="http://hostname/lowsrc.png" style="visibility: hidden;">
<script>
description("This test checks that the lowsrc attribute of img tags are accessible via JavaScript.");
var image = document.getElementById('image');
shouldBe("image.lowsrc", "'http://hostname/lowsrc.png'");
image.lowsrc = "http://hostname/newlowsrc.png";
shouldBe("image.lowsrc", "'http://hostname/newlowsrc.png'");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>