Title: [92741] trunk/LayoutTests
Revision
92741
Author
[email protected]
Date
2011-08-09 18:40:10 -0700 (Tue, 09 Aug 2011)

Log Message

Another follow-up for r92728.
https://bugs.webkit.org/show_bug.cgi?id=65916

* fast/forms/month/ValidityState-stepMismatch-month-expected.txt: Updated.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (92740 => 92741)


--- trunk/LayoutTests/ChangeLog	2011-08-10 01:40:01 UTC (rev 92740)
+++ trunk/LayoutTests/ChangeLog	2011-08-10 01:40:10 UTC (rev 92741)
@@ -1,5 +1,12 @@
 2011-08-09  Kent Tamura  <[email protected]>
 
+        Another follow-up for r92728.
+        https://bugs.webkit.org/show_bug.cgi?id=65916
+
+        * fast/forms/month/ValidityState-stepMismatch-month-expected.txt: Updated.
+
+2011-08-09  Kent Tamura  <[email protected]>
+
         Add a missing </script> for r92728.
 
         * fast/forms/month/ValidityState-stepMismatch-month.html:

Modified: trunk/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month-expected.txt (92740 => 92741)


--- trunk/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month-expected.txt	2011-08-10 01:40:01 UTC (rev 92740)
+++ trunk/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month-expected.txt	2011-08-10 01:40:10 UTC (rev 92741)
@@ -1,2 +1,37 @@
-CONSOLE MESSAGE: line 55: SyntaxError: Unexpected token '<'
+Check stepMismatch results for type=month.
 
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Empty values
+PASS stepMismatchFor("", null, null) is false
+PASS stepMismatchFor("", "2", "1969-12") is false
+Normal step values
+PASS stepMismatchFor("2010-03", "2", "2010-02") is true
+PASS stepMismatchFor("2010-02", "2", "2010-02") is false
+PASS stepMismatchFor("2010-04", "2", "2010-02") is false
+PASS stepMismatchFor("1800-11", "3", "1800-09") is true
+PASS stepMismatchFor("1800-09", "3", "1800-09") is false
+PASS stepMismatchFor("1800-12", "3", "1800-09") is false
+PASS stepMismatchFor("275760-09", "3", "275760-08") is true
+PASS stepMismatchFor("275760-09", "2", "275760-09") is false
+Implicit step base
+PASS stepMismatchFor("1970-02", "2", null) is true
+PASS stepMismatchFor("1970-03", "2", null) is false
+Fractional step values
+PASS stepMismatchFor("2010-03", "0.1", "2010-02") is false
+PASS stepMismatchFor("2010-03", "1.1", "2010-02") is false
+PASS stepMismatchFor("2010-03", "1.9", "2010-02") is true
+Invalid or no step values
+PASS stepMismatchFor("2010-03", null, "2010-02") is false
+PASS stepMismatchFor("2010-03", "-1", "2010-02") is false
+PASS stepMismatchFor("2010-03", "foo", "2010-02") is false
+Special step value
+PASS stepMismatchFor("2010-03", "any", "2010-02") is false
+Disabled
+PASS stepMismatchFor("2010-03", "2", "2010-02", true) is false
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to