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

Unified Diff: LayoutTests/fast/forms/email-selectapi.html

Issue 100433008: Disable select api for input type number and email (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/forms/email-selectapi.html
diff --git a/LayoutTests/fast/forms/email-selectapi.html b/LayoutTests/fast/forms/email-selectapi.html
new file mode 100644
index 0000000000000000000000000000000000000000..a5aa919e7c43b1213d4f20968f84b50bf56e2cdc
--- /dev/null
+++ b/LayoutTests/fast/forms/email-selectapi.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
tkent 2013/12/13 00:07:29 You don't need to add new test files. Please add
Habib Virji 2013/12/13 12:05:04 Done.
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+</head>
+<body>
+<input id='email' type=email>
+<script>
+description("Test selectionStart() method support in input type email.");
+
+debug('Checking input type email support for selectionStart:');
+shouldThrow('document.getElementById("email").selectionStart = 0');
+
+debug('Checking input type email support for selectionEnd:');
+shouldThrow('document.getElementById("email").selectionEnd');
+
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/forms/email-selectapi-expected.txt » ('j') | Source/core/html/HTMLInputElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698