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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/drag-pdf-as-image.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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/WebKit/LayoutTests/fast/images/drag-pdf-as-image.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/drag-pdf-as-image.html b/third_party/WebKit/LayoutTests/fast/images/drag-pdf-as-image.html
deleted file mode 100644
index 681893e8067d901a2fcf58094c06a141f5ba6ca4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/drag-pdf-as-image.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
-<head>
-<script type="text/javascript">
-function test() {
-
- if (!window.testRunner || !window.eventSender)
- return;
-
- testRunner.dumpAsText();
-
- var dragMe = document.getElementById("dragMe");
- var startX = dragMe.offsetLeft + (dragMe.offsetWidth / 2);
- var startY = dragMe.offsetTop + (dragMe.offsetTop / 2);
- var endX = startX + 100;
- var endY = startY + 100;
-
- eventSender.mouseMoveTo(startX, startY);
- eventSender.mouseDown();
- eventSender.mouseMoveTo(endX, endY);
- eventSender.mouseUp();
-}
-</script>
-</head>
-<body onload="test()">
- <img id="dragMe" src='resources/pdf_test_landscape.pdf'>
- <div>
- This test checks that dragging a pdf doesn't crash the browser.
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698