Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>ol.start - reflection test</title>
<meta name="assert" content="This test checks that the start IDL attribute reflects the respective content attribute of the same name.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<ol id='ol' reversed>
<li>Three</li>
<li>Two</li>
<li>One</li>
</ol>
<div id='log'></div>
<script>
test(function() {
assert_equals(document.getElementById('ol').start, 1);
})
</script>
</body>
</html>