Files
sousa-gecko/testing/web-platform/tests/html/rendering/widgets/placeholder-text-overflow-ellipsis.html
T
Emilio Cobos Álvarez 3cf5d675af Bug 2045660 - Prevent placeholder from creating overflow in <input>. r=TYLin
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
2026-06-13 16:30:12 +00:00

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">