Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Side by Side Diff: third_party/WebKit/LayoutTests/images/image-change-src.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function onload() { 4 function onload() {
5 document.getElementById("1").setAttribute("src", ""); 5 document.getElementById("1").setAttribute("src", "");
6 document.getElementById("2").removeAttribute("src"); 6 document.getElementById("2").removeAttribute("src");
7 document.getElementById("3").setAttribute("src","resources/green.jpg"); 7 document.getElementById("3").setAttribute("src","resources/green.jpg");
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body onLoad="onload()"> 11 <body onLoad="onload()">
12 <span>Test to check for image update when source is changed/cleared</span><br> 12 <span>Test to check for image update when source is changed/cleared</span><br>
13 <img id="3"> 13 <img id="3">
14 <img alt="1" id="1" src="resources/green.jpg"> 14 <img alt="1" id="1" src="resources/green.jpg">
15 <img alt="2" id="2" src="resources/green.jpg"> 15 <img alt="2" id="2" src="resources/green.jpg">
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698