2010-12-13 Dai Mikurube <dmikurube@google.com>
[WebKit.git] / LayoutTests / fast / forms / ValidityState-customError.html
index 6de7a3c..e873f98 100644 (file)
@@ -55,10 +55,10 @@ debug('Set some value for customError.');
 v = document.getElementsByName("set");
 for (i = 0; i < v.length; i++)
     v[i].setCustomValidity("Custom validation message");
-shouldBeTrue('customErrorFor("fieldset-set")');
+shouldBeFalse('customErrorFor("fieldset-set")');
 shouldBeTrue('customErrorFor("button-set")');
-shouldBeTrue('customErrorFor("button-button-set")');
-shouldBeTrue('customErrorFor("button-reset-set")');
+shouldBeFalse('customErrorFor("button-button-set")');
+shouldBeFalse('customErrorFor("button-reset-set")');
 shouldBeTrue('customErrorFor("select-set")');
 shouldBeTrue('customErrorFor("textarea-set")');
 shouldBeTrue('customErrorFor("input-set")');
@@ -111,10 +111,10 @@ shouldBeFalse('customErrorFor("input-submit-many-changes")');
 debug('Set with three arguments.');
 for (i = 0; i < v.length; i++)
     v[i].setCustomValidity("one", "two", "three");
-shouldBeTrue('customErrorFor("fieldset-many-changes")');
+shouldBeFalse('customErrorFor("fieldset-many-changes")');
 shouldBeTrue('customErrorFor("button-many-changes")');
-shouldBeTrue('customErrorFor("button-button-many-changes")');
-shouldBeTrue('customErrorFor("button-reset-many-changes")');
+shouldBeFalse('customErrorFor("button-button-many-changes")');
+shouldBeFalse('customErrorFor("button-reset-many-changes")');
 shouldBeTrue('customErrorFor("select-many-changes")');
 shouldBeTrue('customErrorFor("textarea-many-changes")');
 shouldBeTrue('customErrorFor("input-many-changes")');