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

Unified Diff: third_party/webdriver/test_data/dragAndDropTest.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, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/webdriver/test_data/dragAndDropTest.html
diff --git a/third_party/webdriver/test_data/dragAndDropTest.html b/third_party/webdriver/test_data/dragAndDropTest.html
deleted file mode 100644
index 0011170ee3c5e7ee28343f24c6e1917fc36a30a3..0000000000000000000000000000000000000000
--- a/third_party/webdriver/test_data/dragAndDropTest.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
-<body>
-
-<style>
-<!--
-.dragme{position:relative;}
--->
-</style>
-<script language="JavaScript1.2">
-<!--
-
-var ie=document.all;
-var nn6=document.getElementById&&!document.all;
-
-var isdrag=false;
-var x,y;
-var dobj;
-
-function movemouse(e)
-{
-
- if (isdrag)
- {
- dobj.style.left = nn6 ? tx + e.clientX - x : tx + event.clientX - x;
- dobj.style.top = nn6 ? ty + e.clientY - y : ty + event.clientY - y;
- return false;
- }
-}
-
-function selectmouse(e)
-{
- var fobj = nn6 ? e.target : event.srcElement;
- var topelement = nn6 ? "HTML" : "BODY";
-
- while (fobj.tagName != topelement && fobj.className != "dragme")
- {
- fobj = nn6 ? fobj.parentNode : fobj.parentElement;
- }
-
- if (fobj.className=="dragme")
- {
- isdrag = true;
- dobj = fobj;
- tx = parseInt(dobj.style.left+0);
- ty = parseInt(dobj.style.top+0);
- x = nn6 ? e.clientX : event.clientX;
- y = nn6 ? e.clientY : event.clientY;
- document.onmousemove=movemouse;
- return false;
- }
-}
-
-document.onmousedown=selectmouse;
-document.onmouseup=new Function("isdrag=false");
-
-//-->
-</script>
-
-
-
-<img src="icon.gif" class="dragme" id="test1"><br>
-<img src="icon.gif" class="dragme" id="test2"><br>
-<b>"Hi there</b>
-<div style="position: absolute; left: 210px; top: 80px; height: 400px; width: 100px; padding: 10em;">
-<img src="icon.gif" class="dragme" id="test3"><br>
-<img src="icon.gif" class="dragme" id="test4"><br>
-</div>
-</body>
-</html>
« no previous file with comments | « third_party/webdriver/test_data/document_write_in_onload.html ('k') | third_party/webdriver/test_data/draggableLists.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698