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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/option-value-and-label-changed-by-js.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-value-and-label-changed-by-js.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html b/third_party/WebKit/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html
deleted file mode 100644
index ea12c078cf3e355de8e34ae1e5b54347403cf0a3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-
-<select>
-<option id="o1"> text </option>
-<option id="o2" value="value"> text </option>
-<option id="o3" label="label"> text </option>
-<option id="o4" value="value" label="label">text</option>
-</select>
-
-<script>
-description('Test for .value and .label of OPTION element');
-
-var o1 = document.getElementById('o1');
-o1.label = "newLabel"
-o1.value = "newValue"
-shouldBe('o1.value', '"newValue"');
-shouldBe('o1.label', '"newLabel"');
-
-var o2 = document.getElementById('o2');
-o2.label = "newLabel"
-o2.value = "newValue"
-shouldBe('o2.value', '"newValue"');
-shouldBe('o2.label', '"newLabel"');
-
-var o3 = document.getElementById('o3');
-o3.label = "newLabel"
-o3.value = "newValue"
-shouldBe('o3.value', '"newValue"');
-shouldBe('o3.label', '"newLabel"');
-
-var o4 = document.getElementById('o4');
-o4.label = "newLabel"
-o4.value = "newValue"
-shouldBe('o4.value', '"newValue"');
-shouldBe('o4.label', '"newLabel"');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698