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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
1 CR and LF in placeholder values should be stripped. 1 CR and LF in placeholder values should be stripped for input type. For textarea should not be stripped.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS internals.visiblePlaceholder(input0) is "first line second line" 6 PASS internals.visiblePlaceholder(input0) is "first line second line"
7 PASS internals.visiblePlaceholder(input1) is "" 7 PASS internals.visiblePlaceholder(input1) is ""
8 PASS internals.visiblePlaceholder(textarea0) is "first line second line" 8 PASS internals.visiblePlaceholder(textarea0) is "first line \r\nsecond line"
9 PASS internals.visiblePlaceholder(textarea1) is "" 9 PASS internals.visiblePlaceholder(textarea1) is ""
10 PASS internals.visiblePlaceholder(textarea2) is ""
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 14
OLDNEW
« 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