Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select-align.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title>Align in select test</title>
4 <style type="text/css">
5 select { width: 300px; }
6 </style>
7 </head>
8 <body>
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>
11 <br>
12 <select align="left"><option>This is should be left justified.</select>
13 <br>
14 <select align="center"><option>This is should be left justified.</option></s elect>
15 <br>
16 <select><option>This is should be left justified.</option></select>
17 <br>
18
19 <select id="test1"><option>This is should be left justified.</option></selec t>
20 <script>
21 <!--
22 var obj1 = document.getElementById('test1');
23 obj1.setAttribute('align', 'right');
24 -->
25 </script>
26
27 <div id='insertionpoint'></div>
28 <script>
29 <!--
30 var ins = document.getElementById('insertionpoint');
31 var obj2 = document.createElement('SELECT');
32 obj2.setAttribute('align', 'right');
33 var option = document.createElement('OPTION');
34 option.appendChild(document.createTextNode('This is should be left justi fied.'));
35 obj2.appendChild(option);
36 ins.appendChild(obj2);
37 //-->
38 </script>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698