blob: 57c29b48743d268897601f7d2f727afad845b528 [file] [log] [blame]
<!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" />
<script>
document.querySelector('input').focus();
</script>
</body>
</html>