Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / popup-menu-appearance-many.html
blob68424caa8fd888138e4a9c6f2ce691706a4bce27
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 <select id="menu">
12 </select>
13 <p id="description" style="opacity: 0"></p>
14 <div id="console" style="opacity: 0"></div>
15 <script>
16 var menu = document.getElementById('menu');
17 for (var i = 0; i < 200; i++) {
18 var option = new Option('item ' + i);
19 if (i === 100)
20 option.selected = true;
21 menu.appendChild(option);
23 openPicker(menu, finishJSTest, function () {
24 testFailed('picker didn\'t open')
25 finishJSTest();
26 });
27 </script>
28 </body>
29 </html>