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

Side by Side Diff: LayoutTests/fast/forms/select/popup-menu-appearance-styled.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 <style>
12 option.styled {
13 font-style: italic;
14 font-weight: bold;
15 font-family: cursive;
16 font-size: 24px;
17 background-color: green;
18 color: red;
19 }
20 </style>
21 <select id="menu">
22 <option>foo</option>
23 <option selected>bar</option>
24 <option hidden>qux</option>
25 <option class="styled">baz</option>
26 </select>
27 <p id="description" style="opacity: 0"></p>
28 <div id="console" style="opacity: 0"></div>
29 <script>
30 var menu = document.getElementById('menu');
31 menu.appendChild(new Option('before separator'));
32 menu.appendChild(document.createElement('hr'));
33 menu.appendChild(new Option('after separator'));
34 openPicker(menu, finishJSTest, function () {
35 testFailed('picker didn\'t open')
36 finishJSTest();
37 });
38 </script>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698