| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Align in textarea Test</title> | 3 <title>Align in textarea Test</title> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <p>The following textarea elements should all be rendered on the left, with
their text aligned to the left.</p> | 6 <p>The following textarea elements should all be rendered on the left, with
their text aligned to the left.</p> |
| 7 <textarea align="right" cols="50">This is should be aligned to the left.</te
xtarea> | 7 <textarea align="right" cols="50">This is should be aligned to the left.</te
xtarea> |
| 8 <br> | 8 <br> |
| 9 <textarea align="left" cols="50">This is should be aligned to the left.</tex
tarea> | 9 <textarea align="left" cols="50">This is should be aligned to the left.</tex
tarea> |
| 10 <br> | 10 <br> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 var ins = document.getElementById('insertionpoint'); | 25 var ins = document.getElementById('insertionpoint'); |
| 26 var obj2 = document.createElement('TEXTAREA'); | 26 var obj2 = document.createElement('TEXTAREA'); |
| 27 obj2.setAttribute('align', 'right'); | 27 obj2.setAttribute('align', 'right'); |
| 28 obj2.setAttribute('cols', '50'); | 28 obj2.setAttribute('cols', '50'); |
| 29 obj2.appendChild(document.createTextNode('This is should be aligned to t
he left.')); | 29 obj2.appendChild(document.createTextNode('This is should be aligned to t
he left.')); |
| 30 ins.appendChild(obj2); | 30 ins.appendChild(obj2); |
| 31 //--> | 31 //--> |
| 32 </script> | 32 </script> |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |