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 |