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

Unified Diff: LayoutTests/fast/forms/placeholder-stripped-expected.txt

Issue 253853002: PlaceHolder in TextArea should allow carriage return and line feed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added rendering test and also added test for carriage return Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/forms/placeholder-stripped.html ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/placeholder-stripped-expected.txt
diff --git a/LayoutTests/fast/forms/placeholder-stripped-expected.txt b/LayoutTests/fast/forms/placeholder-stripped-expected.txt
index 94fcac28927647fe891a9f50af574901c8d867a4..2535ac7e7f0ee0b161a843425159e2894e4bd394 100644
--- a/LayoutTests/fast/forms/placeholder-stripped-expected.txt
+++ b/LayoutTests/fast/forms/placeholder-stripped-expected.txt
@@ -1,12 +1,13 @@
-CR and LF in placeholder values should be stripped.
+CR and LF in placeholder values should be stripped for input type. For textarea should not be stripped.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS internals.visiblePlaceholder(input0) is "first line second line"
PASS internals.visiblePlaceholder(input1) is ""
-PASS internals.visiblePlaceholder(textarea0) is "first line second line"
+PASS internals.visiblePlaceholder(textarea0) is "first line \r\nsecond line"
PASS internals.visiblePlaceholder(textarea1) is ""
+PASS internals.visiblePlaceholder(textarea2) is ""
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/forms/placeholder-stripped.html ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698