diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/forms/the-textarea-element/placeholder-white-space.tentative.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/forms/the-textarea-element/placeholder-white-space.tentative.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/forms/the-textarea-element/placeholder-white-space.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-textarea-element/placeholder-white-space.tentative.html new file mode 100644 index 0000000000..7af55643fb --- /dev/null +++ b/testing/web-platform/tests/html/semantics/forms/the-textarea-element/placeholder-white-space.tentative.html @@ -0,0 +1,15 @@ +<!doctype html> +<meta charset=utf-8> +<title>Textarea placeholder honors textarea's text-overflow</title> +<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> +<link rel=author href="https://mozilla.com" title="Mozilla"> +<link rel=mismatch href="placeholder-white-space-notref.html"> +<link rel=help href="https://github.com/w3c/csswg-drafts/issues/6669"> +<style> + textarea { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 100px; + } +</style> +<textarea placeholder="This is a really long string that needs to be truncated"></textarea> |