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

Unified Diff: LayoutTests/fast/forms/input-value-sanitization.html

Issue 8336009: Merge 97351 - REGRESSION(r89915): <input type=email multiple> don't show the default value (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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 | « no previous file | LayoutTests/fast/forms/input-value-sanitization-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/input-value-sanitization.html
===================================================================
--- LayoutTests/fast/forms/input-value-sanitization.html (revision 97687)
+++ LayoutTests/fast/forms/input-value-sanitization.html (working copy)
@@ -11,6 +11,20 @@
var input;
debug('');
+debug('Email with multiple:');
+input = document.createElement('input');
+input.multiple = true;
+input.type = 'email';
+input.setAttribute('value', ' tkent@chromium.org, tkent@example.!!! ');
+shouldBe('input.value', '"tkent@chromium.org,tkent@example.!!!"');
+debug('Email without multiple:');
+input = document.createElement('input');
+input.multiple = false;
+input.type = 'email';
+input.setAttribute('value', ' tkent@chromium.org, tkent@example.*** \r\n');
+shouldBe('input.value', '" tkent@chromium.org, tkent@example.*** "');
+
+debug('');
debug('Number:');
input = document.createElement('input');
input.setAttribute('value', '65536');
« no previous file with comments | « no previous file | LayoutTests/fast/forms/input-value-sanitization-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698