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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/selected-index-value.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/selected-index-value.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/selected-index-value.html b/third_party/WebKit/LayoutTests/fast/forms/selected-index-value.html
deleted file mode 100644
index 52c4763c7db1856d7358cba2513e3737e8e58cbd..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/selected-index-value.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html >
-<body>
-<p>This tests that we can find the selected value of a dropdown when this format is used: [select_name][this.selectedIndex].value.
-See bug 798404. </p>
-
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-function test(selected_value) {
-if (selected_value == 'C') {
- document.getElementById("sourceViewDiv").innerHTML=' This test: PASSED!';
-}
-}
-</script>
-
-<form>
-
-<select name="URL" onChange="javascript:test(URL[this.selectedIndex].value);" >
-<option value="A">A</option>
-<option value="B">B</option>
-<option value="C">C</option>
-</select>
-
-<div id='sourceViewDiv'>This test: FAILED</div>
-
-<script>
-var x=document.getElementsByTagName('select')[0];
-x.options[2].selected=true;
-var evt = document.createEvent("HTMLEvents");
-evt.initEvent("change", true, true);
-x.dispatchEvent(evt);
-</script>
-
-</form>
-
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698