選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

34 行
717B

  1. <html>
  2. <head>
  3. <title>innerHTML smoketest</title>
  4. </head>
  5. <body>
  6. <!--
  7. What we're going to do is use JavaScript to calculate
  8. fixpoints of innerHTML parse and reparsing. We start with
  9. an input value, encoded in a JavaScript string.
  10. x.innerHTML = input
  11. We then snapshot the DOM state of x, and then perform the
  12. iteration:
  13. intermediate = x.innerHTML
  14. x.innerHTML = intermediate
  15. What inputs are we going to test?
  16. We will generate using the following alphabet:
  17. a01~!@#$%^&*()_+`-=[]\{}|;':",./<>? (and <space>)
  18. -->
  19. <textarea id="out" style="width:100%;height:100%;"></textarea>
  20. <div id="testContainer" style="display:none"></div>
  21. <script src="innerHTML.js" type="text/javascript"></script>
  22. </body>
  23. </html>