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

Side by Side Diff: third_party/WebKit/LayoutTests/media/absolute-positioned-video-crash.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 <body onload="reloadOnce()"> 2 <body onload="reloadOnce()">
3 <div>This test passes if it doesn't crash.</div> 3 <div>This test passes if it doesn't crash.</div>
4 <video style="position: absolute" poster="../fast/images/resources/green.jpg"><s ource></video> 4 <video style="position: absolute" poster="../images/resources/green.jpg"><source ></video>
5 <script> 5 <script>
6 document.body.offsetHeight; 6 document.body.offsetHeight;
7 7
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
11 function reloadOnce() { 11 function reloadOnce() {
12 var searchParameter = "?done"; 12 var searchParameter = "?done";
13 if (window.location.search == searchParameter) { 13 if (window.location.search == searchParameter) {
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.notifyDone(); 15 testRunner.notifyDone();
16 } else { 16 } else {
17 if (window.testRunner) 17 if (window.testRunner)
18 testRunner.waitUntilDone(); 18 testRunner.waitUntilDone();
19 window.location = window.location + searchParameter; 19 window.location = window.location + searchParameter;
20 } 20 }
21 } 21 }
22 </script> 22 </script>
23 </body> 23 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698