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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-drag-release.html

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 years, 3 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/WebKit/LayoutTests/fast/repaint/slider-thumb-drag-release.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-drag-release.html b/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-drag-release.html
deleted file mode 100644
index 4fc119028bc014faf003817131ee297761cf28b8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-drag-release.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<head>
-<script>
-
-// Tests that the slider thumb is repainted correctly when the mouse that's
-// dragging it releases outside of the track. The result should be a thumb
-// painted in the released state.
-
-var ARBITRARY_DELTA = 50;
-
-function clickAndDragDiagonally(element)
-{
- if (!window.eventSender)
- return;
-
- var maxX = element.offsetLeft + element.offsetWidth;
- var x = maxX / 2;
- var y = element.offsetTop + element.offsetHeight / 2;
- eventSender.mouseMoveTo(x, y);
- eventSender.mouseDown();
- eventSender.mouseMoveTo(maxX, y + ARBITRARY_DELTA);
- eventSender.mouseUp();
-}
-
-function runTest()
-{
- clickAndDragDiagonally(document.getElementById('slider'));
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<input id="slider" type="range" value="0">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698