OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <title>the ul element</title> |
| 6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com"> |
| 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ul-elemen
t"> |
| 8 <script src="../../../../../../resources/testharness.js"></script> |
| 9 <script src="../../../../../../resources/testharnessreport.js"></script> |
| 10 <script> |
| 11 "use strict"; |
| 12 |
| 13 // check that prototype matches spec's DOM interface |
| 14 test(function () { |
| 15 var testElement = document.createElement("ul"); |
| 16 assert_equals(Object.getPrototypeOf(testElement), HTMLUListElement.p
rototype, "HTMLUListElement.prototype should be used for ul"); |
| 17 }, "The prototype for ul is HTMLUListElement.prototype"); |
| 18 |
| 19 </script> |
| 20 </head> |
| 21 <body> |
| 22 <h1>Description</h1> |
| 23 <p>This test validates the ul element.</p> |
| 24 |
| 25 <div id="log"></div> |
| 26 |
| 27 </body> |
| 28 </html> |
OLD | NEW |