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

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/month-expected.txt

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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: LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/month-expected.txt
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/month-expected.txt b/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/month-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..679d164b45ae4d750b407c56b2c6740330d9f5b5
--- /dev/null
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/month-expected.txt
@@ -0,0 +1,15 @@
+This is a testharness.js-based test.
+PASS month type support on input element
+FAIL The value attribute, if specified and not empty, must have a value that is a valid month string assert_equals: expected "2011-01" but got "1999-01"
+FAIL The min attribute, if specified, must have a value that is a valid month string. assert_equals: expected "" but got "invalid_min"
+FAIL The max attribute, if specified, must have a value that is a valid month string assert_equals: expected "2099-01" but got "2011-12"
+PASS User agents must not allow the user to set the value to a non-empty string that is not a valid month string.
+PASS Month value can be empty string.
+PASS When value attribute has two digits year value, the value,which is invalid, must return empty string.
+PASS When value is set with invalid value, the value must return empty string.
+FAIL When value is given invalid value to non-empty valid string, the value must be same as before. assert_equals: expected "2013-05" but got ""
+PASS When step attribute is given invalid value, it must ignore the invalid value and use defaul value instead.
+PASS Month should be <= 13: If the value of the element is not a valid month string, then set it to the empty string instead.
+PASS Month should be > 0: If the value of the element is not a valid month string, then set it to the empty string instead.>
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698