3 <title>Input Align
</title>
8 <p>The following
5 inputs should be all be rendered exactly the same, aligned to the left side.
</p>
10 <input type='text' align='right' value='The quick brown...'
/>
12 <input type='text' value='The quick brown...'
/>
14 <input type='text' value='The quick brown...' id='test1'
/>
18 // This script tries to set the align attribute on an input of type text.
19 // Nothing should happen...
20 var obj1
= document
.getElementById('test1');
21 obj1
.setAttribute('align', 'right');
25 <input type='image' align='right' value='The quick brown...' id='test2'
/>
29 // This script tries to set the align attribute on an input of type text.
30 // Nothing should happen...
31 var obj2
= document
.getElementById('test2');
32 obj2
.setAttribute('type', 'text');
36 <div id='insertionpoint'
></div>
40 var ins
= document
.getElementById('insertionpoint');
41 var obj3
= document
.createElement('INPUT');
42 obj3
.setAttribute('align', 'right');
43 obj3
.setAttribute('value', 'The quick brown...');
44 ins
.appendChild(obj3
);