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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/hover-pseudo-borders.html

Issue 2321183002: Move repaint tests (except for svg/) 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/hover-pseudo-borders.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/hover-pseudo-borders.html b/third_party/WebKit/LayoutTests/fast/repaint/hover-pseudo-borders.html
deleted file mode 100644
index b5d7e8c884acbaa78af37ef2ffee078c056917b0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/hover-pseudo-borders.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-.hitregion {
- width: 100px;
- height: 100px;
- background-color: red;
-}
-.hitregion:after {
- content: "";
- border: 40px solid;
- outline: 10px solid;
- position: absolute;
- width: 0;
- height: 0;
- margin-left: 140px;
- margin-top: 10px;
-}
-.hitregion:hover {
- background-color: green; /* Changes the left box's color. */
-}
-.hitregion:hover:after {
- color: green; /* Changes the right box's color. */
-}
-</style>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- if (!window.testRunner)
- return;
- eventSender.mouseMoveTo(50, 50);
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-window.addEventListener("load", runRepaintAndPixelTest);
-</script>
-</head>
-<body>
-<!--
- REGRESSION: :hover doesn't work on :after content with borders or outlines.
- To test this bug outside DRT, hover on the square below.
- This test passes if there are two green squares.
--->
-<div class="hitregion"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698