<!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 value when a text input is focused.</p>
<input type="text" value="Lorem ipsum dolor sit amet, consectetur adipiscing elit" />
<script>
document.querySelector('input').focus();
</script>
</body>
</html>