Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / input-align-image.html
blobe2eda88d19eb756a90c05c162cd4258c24ba5bb2
1 <html>
2 <head>
3 <title>Input (type="image") Align</title>
4 </head>
5 <body>
6 <p>The following 4 images should be all be rendered exactly the same, aligned to the right side.</p>
7 <input type='image' align='right' src='resources/apple.gif' />
8 <br><br>
9 <input align='right' src='resources/apple.gif' type='image' />
10 <br><br>
11 <input type='image' id='test1' src='resources/apple.gif' />
12 <br><br>
14 <script>
15 <!--
16 // This script tries to set the align attribute on an input of type text.
17 // Nothing should happen...
18 var obj1 = document.getElementById('test1');
19 obj1.setAttribute('align', 'right');
20 -->
21 </script>
23 <div id='insertionpoint'></div>
24 <script>
25 <!--
26 var ins = document.getElementById('insertionpoint');
27 var obj2 = document.createElement('INPUT');
28 obj2.setAttribute('align', 'right');
29 obj2.setAttribute('src', 'resources/apple.gif');
30 obj2.setAttribute('type', 'image');
31 ins.appendChild(obj2);
32 //-->
33 </script>
34 </body>
35 </html>