| OLD | NEW | 
|   1 <video width=100 height=50 controls></video> |   1 <video width=100 height=50 controls></video> | 
|   2 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   2 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   3      (Please avoid writing new tests using video-test.js) --> |   3      (Please avoid writing new tests using video-test.js) --> | 
|   4 <script src=video-test.js></script> |   4 <script src=video-test.js></script> | 
|   5 <script> |   5 <script> | 
|   6     testExpected("video.width", 100); |   6     testExpected("video.width", 100); | 
|   7     testExpected("video.height", 50); |   7     testExpected("video.height", 50); | 
|   8     testExpected("video.offsetWidth", 100); |   8     testExpected("video.offsetWidth", 100); | 
|   9     testExpected("video.offsetHeight", 50); |   9     testExpected("video.offsetHeight", 50); | 
|  10     video.setAttribute('width', '200'); |  10     video.setAttribute('width', '200'); | 
|  11     video.setAttribute('height', '100'); |  11     video.setAttribute('height', '100'); | 
|  12     testExpected("video.width", 200); |  12     testExpected("video.width", 200); | 
|  13     testExpected("video.height", 100); |  13     testExpected("video.height", 100); | 
|  14     testExpected("video.offsetWidth", 200); |  14     testExpected("video.offsetWidth", 200); | 
|  15     testExpected("video.offsetHeight", 100); |  15     testExpected("video.offsetHeight", 100); | 
|  16     video.width = 400; |  16     video.width = 400; | 
|  17     video.height = 200; |  17     video.height = 200; | 
|  18     testExpected("video.getAttribute('width')", 400); |  18     testExpected("video.getAttribute('width')", 400); | 
|  19     testExpected("video.getAttribute('height')", 200); |  19     testExpected("video.getAttribute('height')", 200); | 
|  20     testExpected("video.offsetWidth", 400); |  20     testExpected("video.offsetWidth", 400); | 
|  21     testExpected("video.offsetHeight", 200); |  21     testExpected("video.offsetHeight", 200); | 
|  22     endTest(); |  22     endTest(); | 
|  23 </script> |  23 </script> | 
| OLD | NEW |