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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/menulist-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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/menulist-width-change.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/menulist-width-change.html b/third_party/WebKit/LayoutTests/fast/forms/menulist-width-change.html
deleted file mode 100644
index c0e1291a45a7146780e838849bf482d8d036dd4a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/menulist-width-change.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
- <head>
- <script>
- function test() {
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- setTimeout('addLongOption();', 100);
- }
- function addLongOption()
- {
- var newOpt = document.createElement("option");
- newOpt.appendChild(document.createTextNode("I require more room"));
- var sl = document.getElementById("t");
- sl.appendChild(newOpt);
-
- if (window.testRunner)
- testRunner.notifyDone();
- }
- </script>
- </head>
- <body onload="test()">
- This tests that when an option is dynamically added to a menu list, and it is too long for the current width,<br>
- that the select automatically recalculates the correct width.<br>
- <select id="t">
- <option id="short">Short</option>
- <option id="medium">Medium</option>
- </select>
- <div id="res"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698