blob: 79d9b962fb7522a7d24dc1d82b78bddebae2dc2f [file] [log] [blame]
<!DOCTYPE html>
<head>
<style>
body {
margin: 0;
padding: 0;
}
#input:focus {
width: 100%;
}
</style>
</head>
<body id="body">
<p> https://bugs.webkit.org/show_bug.cgi?id=109020: An input element that grows to 100% width will create scrollbars, and these should go away when it loses focus. </p>
<textarea id="input" placeholder="placeholder"></textarea>
<textarea id="input2"></textarea>
<script>
document.getElementById('input').focus();
document.getElementById('input2').focus();
</script>
</body>