Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / image-change-src.html
blob6b3096a3447ca6940f5179464cfd873a5548da6e
1 <!DOCTYPE html>
2 <head>
3 <script>
4 function onload() {
5 document.getElementById("1").setAttribute("src", "");
6 document.getElementById("2").removeAttribute("src");
7 document.getElementById("3").setAttribute("src","resources/green.jpg");
9 </script>
10 </head>
11 <body onLoad="onload()">
12 <span>Test to check for image update when source is changed/cleared</span><br>
13 <img id="3">
14 <img alt="1" id="1" src="resources/green.jpg">
15 <img alt="2" id="2" src="resources/green.jpg">
16 </body>
17 </html>