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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/listbox-width-change.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <html>
2 <head>
3 <script>
4 function test() {
5 if (window.testRunner)
6 testRunner.waitUntilDone();
7 setTimeout("test2()", 100);
8 }
9 function test2() {
10 document.getElementById('sl').options[0] = new Option ( "This te xt should fit in the list box", "1" );
11 if (window.testRunner)
12 testRunner.notifyDone();
13 }
14 </script>
15 </head>
16 <body onload="test()">
17 This tests that when a list box's options get updated, the list box will recalculate its width, and relayout.
18 <br>
19 <select id="sl" multiple></select>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698