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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-non-latin-update-from-element.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 <meta charset="utf-8">
5 <script src="../../../resources/js-test.js"></script>
6 <script src="../resources/common.js"></script>
7 <script src="../resources/picker-common.js"></script>
8 </head>
9 <body>
10 <select id="menu">
11 <option selected>いろはにほへと</option>
12 </select>
13 <script>
14 var menuElement = document.getElementById('menu');
15 var picker;
16
17 function openPickerErrorCallback() {
18 testFailed('picker didn\'t open')
19 finishJSTest();
20 }
21 openPicker(menu, test1, openPickerErrorCallback);
22
23 function test1() {
24 picker = window.internals.pagePopupWindow.global.picker;
25
26 menuElement.style.color = 'rgb(123, 0, 0)';
27
28 picker.on("didUpdate", function () {
29 setTimeout(function() {
30 shouldBeEqualToString('picker._selectElement.options[0].label', 'いろは にほへと');
31 finishJSTest();
32 }, 0);
33 });
34 }
35 </script>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698