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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-cache-desynchronization.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-cache-desynchronization.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-cache-desynchronization.html b/third_party/WebKit/LayoutTests/fast/forms/select-cache-desynchronization.html
deleted file mode 100644
index a4547ef6303b3fdc4a8c1708853edda20c31d09f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-cache-desynchronization.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<body><form>
-<select multiple size=5 onchange="change()"><option>1</option><option>2</option></select>
-</form>
-<div id=res></div>
-<script>
-
-var select = document.forms[0].elements[0];
-var res = document.getElementById("res");
-select.focus();
-if (window.testRunner) {
- testRunner.dumpAsText();
- eventSender.keyDown("downArrow", []);
- eventSender.keyDown("downArrow", ["shiftKey"]);
-} else {
- res.textContent = "Press down arrow.";
-}
-
-function change() {
- if (select.firstChild.selected && !select.firstChild.nextSibling.selected) {
- select.appendChild(new Option("3", "3", false, false));
- res.textContent = "Press shift + down arrow.";
- } else if (select.firstChild.selected && select.firstChild.nextSibling.selected && !select.lastChild.selected)
- res.textContent = "Success.";
- else
- res.textContent = "Failed.";
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698