Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: LayoutTests/fast/forms/number/number-validity-badinput-expected.txt

Issue 583833007: Revert of Fix update of validity cache value, so that it reflects the correct state of any ... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/number/number-validity-badinput-expected.txt
diff --git a/LayoutTests/fast/forms/number/number-validity-badinput-expected.txt b/LayoutTests/fast/forms/number/number-validity-badinput-expected.txt
index 1c407e051ef40d2a4a0886b82c37a05d7699b56a..17357b9d4c4914d0f1ea3897fd1837e1d3603cb1 100644
--- a/LayoutTests/fast/forms/number/number-validity-badinput-expected.txt
+++ b/LayoutTests/fast/forms/number/number-validity-badinput-expected.txt
@@ -19,22 +19,15 @@
PASS colorOf(number) is invalidStyleColor
PASS number.validity.badInput is true
PASS number.value is ""
-The element looses focus. The element state should not be changed.
+The element losts focus. The element state should not be changed.
PASS colorOf(number) is invalidStyleColor
PASS number.validity.badInput is true
PASS document.getSelection().toString() is "-1a"
PASS number.value is ""
-The element looses renderer. The element state should not be changed.
+The element losts a renderer. The element state should not be changed.
PASS number.style.display = "none"; number.validity.badInput is true
A bad input should be cleared by value="".
PASS number.value = ""; document.execCommand("SelectAll"); document.getSelection().toString() is ""
-badInput and checkValidty() should be updated by value= "some valid number"
-Type some text (invalid input)
-PASS number.validity.badInput is true
-PASS number.checkValidity() is false
-Now set a valid value
-PASS number.validity.badInput is false
-PASS number.checkValidity() is true
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/forms/number/number-validity-badinput.html ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698