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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-size.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 9 months 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 <html> 1 <html>
2 <head> 2 <head>
3 <title>&lt;video&gt; element size and resize test</title> 3 <title>&lt;video&gt; element size and resize test</title>
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
5 (Please avoid writing new tests using video-test.js) -->
4 <script src=video-test.js></script> 6 <script src=video-test.js></script>
5 <script src=media-file.js></script> 7 <script src=media-file.js></script>
6 8
7 <script> 9 <script>
8 var movieInfo = 10 var movieInfo =
9 { 11 {
10 current:0, 12 current:0,
11 movies: 13 movies:
12 [ 14 [
13 { 15 {
14 src:null, 16 src:null,
15 poster:null, 17 poster:null,
16 description:"no 'src' and no 'poster', with 'width' and 'height' attributes", 18 description:"no 'src' and no 'poster', with 'width' and 'height' attributes",
17 width:640, 19 width:640,
18 height:480, 20 height:480,
19 videoWidth:0, 21 videoWidth:0,
20 videoHeight:0 22 videoHeight:0
21 }, 23 },
22 { 24 {
23 src:null, 25 src:null,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 </script> 122 </script>
121 </head> 123 </head>
122 124
123 <body onload="setTimeout(test, 100)"> 125 <body onload="setTimeout(test, 100)">
124 126
125 <video controls width=640 height=480 onloadedmetadata="testMovie()"></vi deo> 127 <video controls width=640 height=480 onloadedmetadata="testMovie()"></vi deo>
126 <p>Test &lt;video&gt; element size with and without 'src' and 'poster' a ttributes.</p> 128 <p>Test &lt;video&gt; element size with and without 'src' and 'poster' a ttributes.</p>
127 129
128 </body> 130 </body>
129 </html> 131 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698