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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-input-element/valueMode.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months 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/external/wpt/html/semantics/forms/the-input-element/valueMode.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-input-element/valueMode.html b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-input-element/valueMode.html
index 6d5bc47bef4bc7f9487151d6d81366e3257b153c..2a5b9465ad5552499bb49025a3c7c0b810f67615 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-input-element/valueMode.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/semantics/forms/the-input-element/valueMode.html
@@ -82,28 +82,28 @@ test(function () {
var input = document.createElement("input");
input.type = "checkbox";
input.value = "foo";
- assert_equals(input.value, "on");
+ assert_equals(input.value, "foo");
}, "value IDL attribute of input type checkbox without value attribute");
test(function() {
var input = document.createElement("input");
input.type = "checkbox";
input.setAttribute("value", "bar");
input.value = "foo";
- assert_equals(input.value, "bar");
+ assert_equals(input.value, "foo");
}, "value IDL attribute of input type checkbox with value attribute");
test(function () {
var input = document.createElement("input");
input.type = "radio";
input.value = "foo";
- assert_equals(input.value, "on");
+ assert_equals(input.value, "foo");
}, "value IDL attribute of input type radio without value attribute");
test(function() {
var input = document.createElement("input");
input.type = "radio";
input.setAttribute("value", "bar");
input.value = "foo";
- assert_equals(input.value, "bar");
+ assert_equals(input.value, "foo");
}, "value IDL attribute of input type radio with value attribute");
// MODE VALUE

Powered by Google App Engine
This is Rietveld 408576698