diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/forms/the-textarea-element/textarea-select-manual.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/forms/the-textarea-element/textarea-select-manual.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/forms/the-textarea-element/textarea-select-manual.html b/testing/web-platform/tests/html/semantics/forms/the-textarea-element/textarea-select-manual.html new file mode 100644 index 000000000..4e98ba509 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-textarea-element/textarea-select-manual.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>HTMLTextAreaElement Test: select()</title> +<link rel="author" title="Intel" href="http://www.intel.com/"> +<meta name="flags" content="interact"> + +<p>Test passes if content of the input area is selected</p> + +<textarea id="test_obj">1234567</textarea> +<script> +var textarea = document.querySelector("#test_obj"); +textarea.select(); +</script> |