Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<meta charset="utf-8">
<title>ViewTimeline.duration</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
test(t => {
const timeline = new ViewTimeline();
assert_equals(timeline.duration.toString(), '100%');
}, 'The duration of a view timeline is 100%');
</script>