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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection.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-multiple-selections-4-single-selection.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection.html b/third_party/WebKit/LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection.html
deleted file mode 100644
index 24e64c491ecf462237f1ce98f7050de6c76c42ff..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<script>
-function print(message)
-{
- var paragraph = document.createElement("li");
- paragraph.appendChild(document.createTextNode(message));
- document.getElementById("console").appendChild(paragraph);
-}
-function test()
-{
- if (window.testRunner)
- testRunner.dumpAsText();
- selectElement = document.getElementById("select1");
- if (selectElement.value == "3")
- print("LOAD:SUCCEEDED!");
- else
- print("LOAD:FAILED: Expected '3' found " + selectElement.value);
- selectElement.getElementsByTagName("option").item(1).selected=true;
- if (selectElement.value == "2")
- print("SELECT:SUCCEEDED!");
- else
- print("SELECT:FAILED: Expected '2' found " + selectElement.value);
- document.getElementById("reset1").click();
- if (selectElement.value == "3")
- print("RESET:SUCCEEDED!");
- else
- print("RESET:FAILED: Expected '3' found " + selectElement.value);
-}
-</script>
-</head>
-<body onload="test()">
-<p>This test checks to see what happens if we mark 2 items as selected in a single selection select element.</p>
-<p>If The test succeeds one should see 3 lines below the ruller below each containing the word SUCCEEDED in it.</p>
-<form id="form1" method="post" action="form_resp.asp">
- <select name="Select" size="2" id="select1">
- <option selected="selected">1</option>
- <option>2</option>
- <option selected="selected">3</option>
-
- <option>4</option>
- </select>
-<input type="reset" name="reset" value="Reset 1" id="reset1"/><br/>
-<hr>
-<p><ol id=console></ol></p>
-</form></body></html>

Powered by Google App Engine
This is Rietveld 408576698