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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-float.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-float.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-float.html b/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-float.html
deleted file mode 100644
index 8a893bb15f9aabb65651d4b1d0ab3ab0d1a4f933..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/slider-thumb-float.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<html>
-<head>
-<style>
-
-input {
- float: left;
- -webkit-appearance: none;
- background-color: Red;
- height: 10px;
- width: 100px;
-}
-
-input::-webkit-slider-thumb {
- -webkit-appearance: none;
- background-color: Green;
- width: 10px;
- height: 10px;
-}
-
-</style>
-<script>
-
-// Tests that the slider thumb is repainted correctly when the input element
-// is floated.
-
-function clickAndDrag(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);
- eventSender.mouseUp();
-}
-
-function runTest()
-{
- clickAndDrag(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