diff options
Diffstat (limited to 'testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html')
-rw-r--r-- | testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html b/testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html new file mode 100644 index 0000000000..db1ad35cce --- /dev/null +++ b/testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html @@ -0,0 +1,15 @@ +<!doctype html> +<meta charset="utf-8"> +<title>button input is clipped by default, and text-overflow: ellipsis works</title> +<link rel="help" href="https://github.com/whatwg/html/issues/9976"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1800077"> +<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> +<link rel="author" title="Mozilla" href="https://mozilla.org"> +<link rel="match" href="input-type-button-clip-ref.html"> +<style> + input { + width: 10ch; + text-overflow: ellipsis; + } +</style> +<input type="button" value="aaaaaaaaaaaaaaaaaaaaaa"> |