This matches other browsers and allows text-overflow: ellipsis to work as it used pre-regression. Added tests for both things. Differential Revision: https://phabricator.services.mozilla.com/D306606
12 lines
396 B
HTML
12 lines
396 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>text-overflow: ellipsis has an effect on input placeholder</title>
|
|
<link rel="help" href="https://html.spec.whatwg.org/#the-input-element-as-a-text-entry-widget">
|
|
<link rel="mismatch" href="placeholder-text-overflow-ellipsis-notref.html">
|
|
<style>
|
|
input {
|
|
text-overflow: ellipsis;
|
|
}
|
|
</style>
|
|
<input placeholder="something very very very very long">
|