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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/option-change-single-selected.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/option-change-single-selected.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/option-change-single-selected.html b/third_party/WebKit/LayoutTests/fast/forms/option-change-single-selected.html
deleted file mode 100644
index 04b8b7c0ac3af59ebfed3cc2f4beca2daf740a83..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/option-change-single-selected.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<body>
-<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=13278">bug 13278</a>: REGRESSION: cannot change SELECT option.</p>
-<form>
-<select size="1">
- <option>FAILURE: script didn't run</option>
- <option>FAILURE</option>
- <option>SUCCESS</option>
-</select>
-<select size="3">
- <option>FAILURE: script didn't run</option>
- <option>FAILURE</option>
- <option>SUCCESS</option>
-</select>
-</form>
-<div id=result></div>
-<script>
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-document.forms[0].elements[0].options[1].selected = true;
-document.forms[0].elements[1].options[1].selected = true;
-
-document.forms[0].elements[0].options[2].selected = true;
-document.forms[0].elements[1].options[2].selected = true;
-if (document.forms[0].elements[0].value != "SUCCESS" || document.forms[0].elements[1].options[1].selected)
- document.getElementById("result").innerHTML = "FAILURE";
- else
- document.getElementById("result").innerHTML = "SUCCESS";
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698