1 <video width=
100 height=
50 controls
></video>
2 <script src=video-test.js
></script>
4 testExpected("video.width", 100);
5 testExpected("video.height", 50);
6 testExpected("video.offsetWidth", 100);
7 testExpected("video.offsetHeight", 50);
8 video
.setAttribute('width', '200');
9 video
.setAttribute('height', '100');
10 testExpected("video.width", 200);
11 testExpected("video.height", 100);
12 testExpected("video.offsetWidth", 200);
13 testExpected("video.offsetHeight", 100);
16 testExpected("video.getAttribute('width')", 400);
17 testExpected("video.getAttribute('height')", 200);
18 testExpected("video.offsetWidth", 400);
19 testExpected("video.offsetHeight", 200);