test_map_attributes_reflection.html 654 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>Test for HTMLMapElement attributes reflection</title>
  5. <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  6. <script type="application/javascript" src="reflect.js"></script>
  7. <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  8. </head>
  9. <body>
  10. <p id="display"></p>
  11. <div id="content" style="display: none">
  12. </div>
  13. <pre id="test">
  14. <script type="application/javascript">
  15. /** Test for HTMLMapElement attributes reflection **/
  16. // .name (String)
  17. reflectString({
  18. element: document.createElement("map"),
  19. attribute: "name",
  20. })
  21. </script>
  22. </pre>
  23. </body>
  24. </html>