ol.start-reflection-2.html (799B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>ol.start - reflection test</title> 5 <link rel="author" title="Shiki Okasaka" href="http://shiki.esrille.com/"> 6 <link rel="author" title="Esrille Inc." href="http://www.esrille.com/"> 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-element"> 8 <meta name="assert" content="This test checks that the start IDL attribute reflects the respective content attribute of the same name."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 </head> 12 <body> 13 <ol id='ol' reversed> 14 <li>Three</li> 15 <li>Two</li> 16 <li>One</li> 17 </ol> 18 <div id='log'></div> 19 <script> 20 test(function() { 21 assert_equals(document.getElementById('ol').start, 1); 22 }) 23 </script> 24 </body> 25 </html>