| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript"> | 3 <script type="text/javascript"> |
| 4 function print(message) | 4 function print(message) |
| 5 { | 5 { |
| 6 var paragraph = document.createElement("li"); | 6 var paragraph = document.createElement("li"); |
| 7 paragraph.appendChild(document.createTextNode(message)); | 7 paragraph.appendChild(document.createTextNode(message)); |
| 8 document.getElementById("console").appendChild(paragraph); | 8 document.getElementById("console").appendChild(paragraph); |
| 9 } | 9 } |
| 10 function test() | 10 function test() |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 <p>This test attempts to set non-standard line endings in a text area an
d reads them back. The line endings should all come back as linefeeds.</p> | 35 <p>This test attempts to set non-standard line endings in a text area an
d reads them back. The line endings should all come back as linefeeds.</p> |
| 36 <p>If the test passes, you should see three lines saying "Passed" below.
</p> | 36 <p>If the test passes, you should see three lines saying "Passed" below.
</p> |
| 37 <hr /> | 37 <hr /> |
| 38 <form> | 38 <form> |
| 39 <textarea id="text"></textarea> | 39 <textarea id="text"></textarea> |
| 40 </form> | 40 </form> |
| 41 <hr /> | 41 <hr /> |
| 42 <p><ol id="console"></ol></p> | 42 <p><ol id="console"></ol></p> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |