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

Side by Side Diff: third_party/WebKit/LayoutTests/images/extra-image-in-image-document.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 <body onload="test()"> 1 <body onload="test()">
2 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=38752">bug 38752</a >: 2 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=38752">bug 38752</a >:
3 Images cannot be dynamically added to image documents.</p> 3 Images cannot be dynamically added to image documents.</p>
4 <p id=result>Onload was not called, which is not good. But is the square below g reen?</p> 4 <p id=result>Onload was not called, which is not good. But is the square below g reen?</p>
5 <iframe src="resources/test-load.jpg" width=100 height=100 frameborder=0></ifram e> 5 <iframe src="resources/test-load.jpg" width=100 height=100 frameborder=0></ifram e>
6 <script> 6 <script>
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 } 10 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "img.style.top = 0;" + 42 "img.style.top = 0;" +
43 "img.style.left = 0;" + 43 "img.style.left = 0;" +
44 "img.style.zIndex = '2000000';" + 44 "img.style.zIndex = '2000000';" +
45 "img.onload = function() { top.loaded() };" + 45 "img.onload = function() { top.loaded() };" +
46 "document.body.appendChild(img);" 46 "document.body.appendChild(img);"
47 d.body.appendChild(script); 47 d.body.appendChild(script);
48 } 48 }
49 49
50 </script> 50 </script>
51 </body> 51 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698