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

Unified Diff: LayoutTests/fast/dom/HTMLTextAreaElement/rows-attribute-expected.txt

Issue 795173003: Stricter parsing for rows/cols attribute on textarea (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing 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/HTMLTextAreaElement/rows-attribute-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLTextAreaElement/rows-attribute-expected.txt b/LayoutTests/fast/dom/HTMLTextAreaElement/rows-attribute-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..321e0aa0ded0995042c1db387a830a8d6569b097
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLTextAreaElement/rows-attribute-expected.txt
@@ -0,0 +1,31 @@
+HTMLTextAreaElement rows attribute test
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.createElement("textarea").rows is 2
+PASS rowsAttributeEffect("") is 2
+PASS rowsAttributeEffect("1") is 1
+PASS rowsAttributeEffect("2") is 2
+PASS rowsAttributeEffect("10") is 10
+PASS rowsAttributeEffect("0") is 2
+PASS rowsAttributeEffect("-1") is 2
+PASS rowsAttributeEffect("1x") is 1
+PASS rowsAttributeEffect("1.") is 1
+PASS rowsAttributeEffect("1.9") is 1
+PASS rowsAttributeEffect("2x") is 2
+PASS rowsAttributeEffect("2.") is 2
+PASS rowsAttributeEffect("2.9") is 2
+PASS rowsAttributeEffect("a") is 2
+PASS rowsAttributeEffect(" 7") is 2
+PASS rowsAttributeEffect(" 7") is 7
+PASS rowsAttributeEffect(arabicIndicDigitOne) is 2
+PASS rowsAttributeEffect("2" + arabicIndicDigitOne) is 2
+PASS rowsAttributeEffect("2147483647") is 2147483647
+PASS rowsAttributeEffect("2147483648") is 2
+PASS rowsAttributeEffect("4294967295") is 2
+PASS rowsAttributeEffect("4294967296") is 2
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/HTMLTextAreaElement/rows-attribute.html ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698