Index: LayoutTests/fast/forms/fieldset/fieldset-name.html |
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-name.html b/LayoutTests/fast/forms/fieldset/fieldset-name.html |
index 63f828dac24e18d6bd30f836c1bdc66651e4dba9..d7b30bb88625dc9f309af088de361625810051ec 100644 |
--- a/LayoutTests/fast/forms/fieldset/fieldset-name.html |
+++ b/LayoutTests/fast/forms/fieldset/fieldset-name.html |
@@ -16,13 +16,11 @@ fs1.name = 1234; |
shouldBe('fs1.name', '"1234"'); |
shouldBe('fs1.getAttribute("name")', '"1234"'); |
-// FIXME: The specification doesn't have clear description for setting null to name. |
-// We may need to update below once the specification fixed. |
debug('fs1.name=null'); |
fs1.name = null; |
-shouldBe('fs1.name', '""'); |
-shouldBeNull('fs1.getAttribute("name")'); |
-shouldBeFalse('fs1.hasAttribute("name")'); |
+shouldBe('fs1.name', '"null"'); |
+shouldBe('fs1.getAttribute("name")', '"null"'); |
+shouldBeTrue('fs1.hasAttribute("name")'); |
debug('fs1.name=undefined'); |
fs1.name = undefined; |