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