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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/option-in-optgroup-removal.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-in-optgroup-removal.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/option-in-optgroup-removal.html b/third_party/WebKit/LayoutTests/fast/forms/option-in-optgroup-removal.html
deleted file mode 100644
index 140d85e73e485218ff10e0e73d117e1491ffc190..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/option-in-optgroup-removal.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<script>
- function test() {
- if (window.testRunner)
- testRunner.dumpAsText();
- var list = document.getElementById("S1");
- list.remove(3);
- log(list.length == 3 ? "Passed" : "Failed");
- }
- function log(msg) {
- var console = document.getElementById('console');
- console.innerHTML = console.innerHTML + msg + "<br>";
- }
-</script>
-</head>
-<body onload="test()">
- <br>This tests that an option in a optgroup can be removed from the containing select.</br>
- <select name="S1" id="S1">
- <optgroup label="Group 1">
- <option value="1">Option 1</option>
- <option value="2">Option 2</option>
- <option value="3">Option 3</option>
- <option value="4">Option 4</option>
- </optgroup>
- </select>
- <div id="console"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698