blob: 34f140b8a8ff021d09fb86b73ab4aa061c16aba7 [file] [log] [blame]
mnaganov@chromium.org83eaf392011-12-16 16:57:31 +00001<!DOCTYPE html>
2<head>
3<script type="text/javascript" src="resources/reveal-utilities.js"></script>
4<style type="text/css">
5/* This is needed for divs percent heights to work. */
6html { height:100%; }
7body { margin:0; padding:0; height:100%; }
8</style>
9</head>
10<body>
11<div>After starting typing in a scrolled out of view editor control, the control is to be brought in the center of the view</div>
12<div style="height:200%"></div>
13<div>To test manually, scroll the page up to the top, then start typing. Input box should be scrolled into the middle of the view.</div>
14<input type="text" name="input" id="input" />
15<div style="height:200%"></div>
16<div id="results"></div>
17<script>
18
rniwa@webkit.org14f6b5b2012-06-13 08:51:53 +000019if (window.testRunner)
20 testRunner.dumpAsText();
mnaganov@chromium.org83eaf392011-12-16 16:57:31 +000021performVerticalScrollingInputTest();
22assertInputIsInTheMiddleOfViewport();
23
24</script>
25</body>