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

Side by Side Diff: third_party/WebKit/LayoutTests/images/object-image.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 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 testRunner.dumpAsTextWithPixelResults(); 7 testRunner.dumpAsTextWithPixelResults();
8 testRunner.setPluginsEnabled(false); 8 testRunner.setPluginsEnabled(false);
9 } 9 }
10 10
11 function done() 11 function done()
12 { 12 {
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 } 15 }
16 16
17 window.onload = function() { 17 window.onload = function() {
18 var elem = document.createElement("object"); 18 var elem = document.createElement("object");
19 elem.onload = done; 19 elem.onload = done;
20 elem.type = "image/png"; 20 elem.type = "image/png";
21 elem.data = "resources/oval.png"; 21 elem.data = "resources/oval.png";
22 document.body.appendChild(elem); 22 document.body.appendChild(elem);
23 }; 23 };
24 </script> 24 </script>
25 </head> 25 </head>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698