Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1994)

Side by Side Diff: third_party/webdriver/test_data/mousePositionTracker.html

Issue 424363004: Update third_party/webdriver/pylib to r18456 and delete test_data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "python" -> "pylib" Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style type="text/css">
4 div.solidborder
5 {
6 border-style:solid;
7 border-width:1px;
8 }
9 </style>
10
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"></scrip t>
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 });
20 })
21
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>
OLDNEW
« no previous file with comments | « third_party/webdriver/test_data/missedJsReference.html ('k') | third_party/webdriver/test_data/nestedElements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698