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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3 div {
4 width: 100px;
5 height: 100px;
6 border: 10px solid;
7 }
8
9 div:hover {
10 color: green;
11 }
12 </style>
13 <script src="resources/repaint.js"></script>
rune 2014/01/29 19:55:49 Could you perhaps use text-based-repaint.js instea
14 <script>
15 function repaintTest() {
16 if (!window.testRunner)
17 return;
18 eventSender.mouseMoveTo(50, 50);
19 eventSender.mouseDown();
20 eventSender.mouseUp();
rune 2014/01/29 19:55:49 There's something funny with the indentation here.
21 }
22 window.addEventListener("load", runRepaintTest);
23 </script>
24 <div></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698