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

Unified Diff: LayoutTests/fast/dom/HTMLInputElement/size-attribute-expected.txt

Issue 796543003: Stricter parsing for size attribute on HTMLInputElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add some subtests that actually make a difference Created 6 years 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/dom/HTMLInputElement/size-attribute-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLInputElement/size-attribute-expected.txt b/LayoutTests/fast/dom/HTMLInputElement/size-attribute-expected.txt
index b8296b4777b49109764fa4bf623153be0e92f2b8..247cff64a7018c6bca67a7f718599df080d2db19 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/size-attribute-expected.txt
+++ b/LayoutTests/fast/dom/HTMLInputElement/size-attribute-expected.txt
@@ -17,8 +17,14 @@ PASS sizeAttributeEffect("2x") is 2
PASS sizeAttributeEffect("2.") is 2
PASS sizeAttributeEffect("2.9") is 2
PASS sizeAttributeEffect("a") is 20
+PASS sizeAttributeEffect(" 7") is 20
+PASS sizeAttributeEffect(" 7") is 7
PASS sizeAttributeEffect(arabicIndicDigitOne) is 20
PASS sizeAttributeEffect("2" + arabicIndicDigitOne) is 2
+PASS sizeAttributeEffect("2147483647") is 2147483647
+PASS sizeAttributeEffect("2147483648") is 20
+PASS sizeAttributeEffect("4294967295") is 20
+PASS sizeAttributeEffect("4294967296") is 20
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/HTMLInputElement/script-tests/size-attribute.js ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698