OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <title>VTTRegion()</title> |
| 3 <link rel="help" href="https://w3c.github.io/webvtt/#dom-vttregion-vttregion"> |
| 4 <script src=/resources/testharness.js></script> |
| 5 <script src=/resources/testharnessreport.js></script> |
| 6 <div id=log></div> |
| 7 <script> |
| 8 test(function() { |
| 9 var region = new VTTRegion(); |
| 10 assert_equals(region.width, 100); |
| 11 assert_equals(region.lines, 3); |
| 12 assert_equals(region.regionAnchorX, 0); |
| 13 assert_equals(region.regionAnchorY, 100); |
| 14 assert_equals(region.viewportAnchorX, 0); |
| 15 assert_equals(region.viewportAnchorY, 100); |
| 16 assert_equals(region.scroll, ''); |
| 17 }, document.title + ' initial values'); |
| 18 </script> |
OLD | NEW |