OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 window.enablePixelTesting = true; | 5 window.enablePixelTesting = true; |
6 </script> | 6 </script> |
7 <script src="../../../resources/js-test.js"></script> | 7 <script src="../../../resources/js-test.js"></script> |
8 <script src="../resources/picker-common.js"></script> | 8 <script src="../resources/picker-common.js"></script> |
9 </head> | 9 </head> |
10 <body style="zoom:0.9;"> | 10 <body style="zoom:0.9;"> |
11 <p>The bottom border of the popup should be visible in 90% zoom level.</p> | 11 <p>The bottom border of the popup should be visible in 90% zoom level.</p> |
12 <!-- TOOD(tkent): The pixel result on Linux has unexepcted scroll bar. We | |
13 -- should understand the cause. The scrollbar doesn't appear on content_shell | |
14 -- and chrome. So, it's not a serious issue. --> | |
15 <select id="menu"> | 12 <select id="menu"> |
16 <option>foo</option> | 13 <option>foo</option> |
17 <option selected>bar</option> | 14 <option selected>bar</option> |
18 <option hidden>qux</option> | 15 <option hidden>qux</option> |
19 <option style="zoom:1.5;">baz</option> | 16 <option style="zoom:1.5;">baz</option> |
20 <optgroup label="Group"> | 17 <optgroup label="Group"> |
21 <option>foo</option> | 18 <option>foo</option> |
22 <option>bar</option> | 19 <option>bar</option> |
23 </optgroup> | 20 </optgroup> |
24 </select> | 21 </select> |
25 <p id="description" style="opacity: 0"></p> | 22 <p id="description" style="opacity: 0"></p> |
26 <div id="console" style="opacity: 0"></div> | 23 <div id="console" style="opacity: 0"></div> |
27 <script> | 24 <script> |
28 openPicker(menu, finishJSTest, function () { | 25 openPicker(menu, finishJSTest, function () { |
29 testFailed('picker didn\'t open') | 26 testFailed('picker didn\'t open') |
30 finishJSTest(); | 27 finishJSTest(); |
31 }); | 28 }); |
32 </script> | 29 </script> |
33 </body> | 30 </body> |
34 </html> | 31 </html> |
OLD | NEW |