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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-multiline-title.html

Issue 1591613002: Move tests about 'New SELECT Popup' to fast/forms/select-popup, and disable them on OSX and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script>
6 <script src="../resources/picker-common.js"></script>
7 </head>
8 <body>
9 <select id="menu">
10 <option id="option1" selected>foo</option>
11 </select>
12 <script>
13 var menuElement = document.getElementById('menu');
14 var picker;
15
16 function openPickerErrorCallback() {
17 testFailed('picker didn\'t open')
18 finishJSTest();
19 }
20
21 document.getElementById('option1').title = 'bar\nbaz';
22 openPicker(menu, test1, openPickerErrorCallback);
23
24 function test1() {
25 picker = window.internals.pagePopupWindow.global.picker;
26 shouldBeEqualToString('picker._selectElement.options[0].title', 'bar\nbaz');
27 finishJSTest();
28 }
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698