Index: LayoutTests/fast/forms/submit-form-attributes.html |
diff --git a/LayoutTests/fast/forms/submit-form-attributes.html b/LayoutTests/fast/forms/submit-form-attributes.html |
index 50ecd0867ed01def8b2eb4b24eb5d7e5b3b0409d..886ab0ca41f575c49de61558f29139f5112082c3 100644 |
--- a/LayoutTests/fast/forms/submit-form-attributes.html |
+++ b/LayoutTests/fast/forms/submit-form-attributes.html |
@@ -152,18 +152,18 @@ shouldBeEqualToString('button.formTarget', 'nota'); |
debug(''); |
debug('Setting null for button:'); |
button.formEnctype = null; |
-shouldBeEqualToString('button.formEnctype', ''); |
-shouldBe('button.getAttribute("formEnctype")', 'null'); |
+shouldBeEqualToString('button.formEnctype', 'application/x-www-form-urlencoded'); |
+shouldBeEqualToString('button.getAttribute("formEnctype")', 'null'); |
button.setAttribute('formEnctype', null); |
shouldBeEqualToString('button.formEnctype', 'application/x-www-form-urlencoded'); |
button.formMethod = null; |
-shouldBeEqualToString('button.formMethod', ''); |
-shouldBe('button.getAttribute("formMethod")', 'null'); |
+shouldBeEqualToString('button.formMethod', 'get'); |
+shouldBeEqualToString('button.getAttribute("formMethod")', 'null'); |
button.setAttribute('formMethod', null); |
shouldBeEqualToString('button.formMethod', 'get'); |
button.formTarget = null; |
-shouldBeEqualToString('button.formTarget', ''); |
-shouldBe('button.getAttribute("formTarget")', 'null'); |
+shouldBeEqualToString('button.formTarget', 'null'); |
+shouldBeEqualToString('button.getAttribute("formTarget")', 'null'); |
button.setAttribute('formTarget', null); |
shouldBeEqualToString('button.formTarget', 'null'); |