Index: LayoutTests/fast/forms/number/number-validity-badinput.html |
diff --git a/LayoutTests/fast/forms/number/number-validity-badinput.html b/LayoutTests/fast/forms/number/number-validity-badinput.html |
index a743ee9b1bb6c292f37c5acb502a1c230379afcb..ebd68e4a24b06834393514ab4032e3849cda0508 100644 |
--- a/LayoutTests/fast/forms/number/number-validity-badinput.html |
+++ b/LayoutTests/fast/forms/number/number-validity-badinput.html |
@@ -46,7 +46,7 @@ |
shouldBeTrue('number.validity.badInput'); |
shouldBeEqualToString('number.value', ''); |
-debug("The element looses focus. The element state should not be changed."); |
+debug("The element losts focus. The element state should not be changed."); |
document.getElementById('another').focus(); |
shouldBe('colorOf(number)', 'invalidStyleColor'); |
shouldBeTrue('number.validity.badInput'); |
@@ -56,7 +56,7 @@ |
shouldBeEqualToString('document.getSelection().toString()', '-1a'); |
shouldBeEqualToString('number.value', ''); |
-debug("The element looses renderer. The element state should not be changed."); |
+debug("The element losts a renderer. The element state should not be changed."); |
shouldBeTrue('number.style.display = "none"; number.validity.badInput'); |
number.style.display = 'inline-block'; |
@@ -64,17 +64,6 @@ |
debug('A bad input should be cleared by value="".'); |
shouldBeEqualToString('number.value = ""; document.execCommand("SelectAll"); document.getSelection().toString()', ''); |
-debug('badInput and checkValidty() should be updated by value= "some valid number"'); |
-number.focus(); |
-debug('Type some text (invalid input)'); |
-document.execCommand('InsertText', false, 'g'); |
-shouldBeTrue('number.validity.badInput'); |
-shouldBeFalse('number.checkValidity()'); |
-debug('Now set a valid value'); |
-number.value = '1'; |
-shouldBeFalse('number.validity.badInput'); |
-shouldBeTrue('number.checkValidity()'); |
- |
document.getElementById('parent').innerHTML = ''; |
</script> |
</body> |