Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/widgets/button-layout/input-type-button-clip.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>button input is clipped by default, and text-overflow: ellipsis works</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="match" href="input-type-button-clip-ref.html">
<style>
input {
width: 10ch;
text-overflow: ellipsis;
}
</style>
<input type="button" value="aaaaaaaaaaaaaaaaaaaaaa">