summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/text/textfield-overflow-by-value-update.html
blob: bdbd9155ef00273eba8bced1a2cc9af37dfc0c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<head>
<script src="../resources/common.js"></script>
<style>
input {
    -webkit-appearance: none;
    font-size: 32px;
    height: 0px;
    width: 100px;
    border-width: 0px;
}
</style>
<body>
<!-- The input value must not be shown outside the input border.
     So, the test result should be just white. -->
<input id="textfield">
<script>
$('textfield').offsetTop;
$('textfield').value = "FAIL";
</script>
</body>