Chromium Code Reviews| 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> |