| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Align in select test</title> | 3 <title>Align in select test</title> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 select { width: 300px; } | 5 select { width: 300px; } |
| 6 </style> | 6 </style> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p>The following select elements should all be rendered on the left, with th
eir text left justified.</p> | 9 <p>The following select elements should all be rendered on the left, with th
eir text left justified.</p> |
| 10 <select align="right"><option>This is should be left justified.</option></se
lect> | 10 <select align="right"><option>This is should be left justified.</option></se
lect> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 var obj2 = document.createElement('SELECT'); | 31 var obj2 = document.createElement('SELECT'); |
| 32 obj2.setAttribute('align', 'right'); | 32 obj2.setAttribute('align', 'right'); |
| 33 var option = document.createElement('OPTION'); | 33 var option = document.createElement('OPTION'); |
| 34 option.appendChild(document.createTextNode('This is should be left justi
fied.')); | 34 option.appendChild(document.createTextNode('This is should be left justi
fied.')); |
| 35 obj2.appendChild(option); | 35 obj2.appendChild(option); |
| 36 ins.appendChild(obj2); | 36 ins.appendChild(obj2); |
| 37 //--> | 37 //--> |
| 38 </script> | 38 </script> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |