Parse and histogram LevelDB corruption errors.
[chromium-blink-merge.git] / third_party / webdriver / test_data / mousePositionTracker.html
blob39a31cda4f4cef6e30590cc10d4f7440718fde6f
1 <html>
2 <head>
3 <style type="text/css">
4 div.solidborder
6 border-style:solid;
7 border-width:1px;
9 </style>
11 <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
12 <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script>
13 <script type="text/javascript">
14 jQuery(document).ready(function(){
15 $('#mousetracker').mousemove(function(e){
16 xPos = e.pageX - this.offsetLeft;
17 yPos = e.pageY - this.offsetTop;
18 $('#status').html(xPos + ', ' + yPos);
19 });
22 </script>
23 <body>
24 <b>Div tracking mouse position.</b>
25 <br>
26 <div id="mousetracker" class="solidborder" style="position: absolute; left: 10px; top: 80px; height: 400px; width: 100px; padding: 0px;">
27 Move mouse here.
28 </div>
29 <h2 id="status">
30 0, 0
31 </h2>
32 </body>
33 </html>