summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/search/search-shaking-text.html
blob: 0e06b3d86ea20a986ffd3ab3eceac069dbcfc9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE>
<body onload="startTest()">
<style>
#testField {
    width: 100px;
    height: 30px;
    -webkit-appearance: none;
}
</style>
<input type="search" id="testField" value="Shaking!">

<script>
function startTest() {
    document.getElementById('testField').offsetTop;
    document.getElementById('testField').style.width = '200px';
    if (window.testRunner)
        testRunner.notifyDone();
}

if (window.testRunner)
    testRunner.waitUntilDone();
</script>
</body>