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

Unified Diff: LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt

Issue 22590003: input/textarea: Count value length with the standard way. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment in a test Created 7 years, 4 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/input-text-paste-maxlength-expected.txt
diff --git a/LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt b/LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt
index 65cbd22ee2fabb4b6203650819ea9be99edfe514..7448e9812c135687a5e7c52e15df7ba26586ab6e 100644
--- a/LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt
+++ b/LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt
@@ -23,8 +23,12 @@ set maxLength property that is smaller than pasted value
PASS domValueOf('g') is '12' + fancyX + '45'
PASS visibleValueOf('g') is '12' + fancyX + '45'
pasting too much text
-PASS domValueOf('k') is '12' + fancyX + '4'
-PASS visibleValueOf('k') is '12' + fancyX + '4'
+PASS domValueOf('k-max5') is "12x̲̅"
+PASS visibleValueOf('k-max5') is "12x̲̅"
+PASS domValueOf('k-max5') is "123𐀀"
+PASS visibleValueOf('k-max5') is "123𐀀"
+PASS domValueOf('k-max5') is "1234"
+PASS visibleValueOf('k-max5') is "1234"
pasting too much text with maxlength=0
PASS domValueOf('l') is ''
PASS visibleValueOf('l') is ''
« no previous file with comments | « LayoutTests/fast/forms/input-text-paste-maxlength.html ('k') | LayoutTests/fast/forms/textarea-maxlength.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698