Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/testharness.js"></script> | |
|
acolwell GONE FROM CHROMIUM
2013/10/23 23:40:06
nits: please add <html>,<head>, and <body> in the
philipj_slow
2013/10/24 06:07:23
Done.
| |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <div id="log"></div> | |
| 5 <video width=1 height=2 style="width: 100px; height: auto"></video> | |
| 6 <script> | |
| 7 test(function() { | |
|
acolwell GONE FROM CHROMIUM
2013/10/23 23:40:06
nit: { goes on the next line in Blink style.
philipj_slow
2013/10/24 06:07:23
Done.
| |
| 8 var v = document.querySelector("video"); | |
| 9 assert_equals(v.clientWidth, 100); | |
| 10 assert_equals(v.clientHeight, 50); | |
|
acolwell GONE FROM CHROMIUM
2013/10/23 23:40:06
nit: It might be useful to have a comment indicati
philipj_slow
2013/10/24 06:07:23
Done.
| |
| 11 }, "width/height attributes should not influence intrinsic width/height"); | |
|
acolwell GONE FROM CHROMIUM
2013/10/23 23:40:06
I think you should also add extra tests that captu
philipj_slow
2013/10/24 06:07:23
Done.
| |
| 12 </script> | |
| OLD | NEW |