tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / fast / dom / HTMLImageElement / image-lowsrc-getset.html
1 <html>
2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script>
4 </head>
5 <body>
6 <img id="image" lowsrc="http://hostname/lowsrc.png" style="visibility: hidden;">
7 <script>
8 description("This test checks that the lowsrc attribute of img tags are accessible via JavaScript.");
9 var image = document.getElementById('image');
10 shouldBe("image.lowsrc", "'http://hostname/lowsrc.png'");
11 image.lowsrc = "http://hostname/newlowsrc.png";
12 shouldBe("image.lowsrc", "'http://hostname/newlowsrc.png'");
13 </script>
14 <script src="../../js/resources/js-test-post.js"></script>
15 </body>
16 </html>