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

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

Issue 140673006: Fix repaint on :hover for empty elements with a border. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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: LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html
diff --git a/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html b/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html
new file mode 100644
index 0000000000000000000000000000000000000000..2a5278666f02c7110788f0deb1a2e39701ed6378
--- /dev/null
+++ b/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ border: 10px solid;
+}
+
+div:hover {
+ color: green;
+}
+</style>
+<script src="resources/repaint.js"></script>
rune 2014/01/29 19:55:49 Could you perhaps use text-based-repaint.js instea
+<script>
+ function repaintTest() {
+ if (!window.testRunner)
+ return;
+ eventSender.mouseMoveTo(50, 50);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
rune 2014/01/29 19:55:49 There's something funny with the indentation here.
+ }
+ window.addEventListener("load", runRepaintTest);
+</script>
+<div></div>

Powered by Google App Engine
This is Rietveld 408576698