Index: LayoutTests/fast/forms/number/number-selectapi.html |
diff --git a/LayoutTests/fast/forms/number/number-selectapi.html b/LayoutTests/fast/forms/number/number-selectapi.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..674d5c138048da40f97412b12514b1148752675d |
--- /dev/null |
+++ b/LayoutTests/fast/forms/number/number-selectapi.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<input id='number' type=number> |
+<script> |
+description("Test selectionStart() method support in input type number."); |
+ |
+debug('Checking input type number support for selectionStart:'); |
+shouldThrow('document.getElementById("number").selectionStart = 0'); |
+ |
+debug('Checking input type number support for selectionEnd:'); |
+shouldThrow('document.getElementById("number").selectionEnd'); |
+ |
+</script> |
+</body> |
+</html> |