summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html
blob: c7c9aeab48191fbcaaa3f866b73f88a2b20f4d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
 <head>
  <title>ol.start - reflection test</title>
  <link rel="author" title="Shiki Okasaka" href="http://shiki.esrille.com/">
  <link rel="author" title="Esrille Inc." href="http://www.esrille.com/">
  <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-element">
  <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>