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