Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / popup-menu-appearance-fractional-width.html
blob918a218117e76f3b3a11293021efd11098b041b8
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 window.enablePixelTesting = true;
6 </script>
7 <script src="../../../resources/js-test.js"></script>
8 <script src="../resources/picker-common.js"></script>
9 </head>
10 <body>
11 <style>
12 select {
13 -webkit-appearance: none;
14 font-size: 13px;
15 padding-right: 1.5em;
16 height: 25px;
17 font-family: 'Ahem';
19 </style>
20 <select id="menu">
21 <option>foo</option>
22 <option>foo</option>
23 <option>foo</option>
24 <option>foo</option>
25 <option>foo</option>
26 </select>
27 <p id="description" style="opacity: 0"></p>
28 <div id="console" style="opacity: 0"></div>
29 <script>
30 description('Test for crbug.com/470505. Pass if there is no vertical scroll bar in the popup.');
31 var menu = document.getElementById('menu');
32 openPicker(menu, finishJSTest, function () {
33 testFailed('picker didn\'t open')
34 finishJSTest();
35 });
36 </script>
37 </body>
38 </html>