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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-reset.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/select-reset.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-reset.html b/third_party/WebKit/LayoutTests/fast/forms/select-reset.html
deleted file mode 100644
index 9c46a5639ef0f6a1f022a5841dde80b9f7e5e013..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-reset.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<head>
-<script>
-function test()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
- var select = document.getElementById('select');
- var index = select.selectedIndex;
- document.forms[0].reset();
- var message = "selected index is " + index + " before and " + select.selectedIndex + " after reset().";
- var paragraph = document.createElement('p');
- paragraph.appendChild(document.createTextNode(message));
- document.getElementById('console').appendChild(paragraph);
-}
-</script>
-</head>
-<body onload="test();">
-<p>This tests reseting of a select box with no selected options using JavaScript. If successful, both times the selected index should be 0.<form>
-<form>
-<select id="select">
-<option>Option 0</option>
-<option>Option 1</option>
-<option>Option 2</option>
-</select>
-</form>
-<p id="console"></p>
-</body>

Powered by Google App Engine
This is Rietveld 408576698