summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-clip.html
blob: db1ad35cce5b8830cba06e19b3b6d5dbcfc7c005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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">