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

Side by Side Diff: LayoutTests/fast/forms/select/popup-menu-appearance-many.html

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests for mac Created 5 years, 10 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
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);
22 }
23 openPicker(menu, finishJSTest, function () {
24 testFailed('picker didn\'t open')
25 finishJSTest();
26 });
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698