15 lines
361 B
HTML
15 lines
361 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>text-overflow</title>
|
|
<style>
|
|
input {
|
|
text-overflow: ellipsis;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>This test makes sure that the ellipsis disappears on the placeholder when a text input is focused.</p>
|
|
<input type="text" placeholder="Lorem ipsum dolor sit amet, consectetur adipiscing elit" autofocus />
|
|
</body>
|
|
</html> |