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

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: Fix pdr's issues. 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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/hover-pseudo-borders-whitespace-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3
4 div {
5 width: 100px;
6 height: 100px;
7 }
8
9 #div_border {
10 border: 10px solid;
11 }
12
13 #div_outline {
14 outline: 10px solid;
15 margin: 20px 0 0 10px;
16 }
17
18 #div_border:hover, #div_border:hover + #div_outline {
19 color: green;
20 }
21
22 </style>
23 <script src="resources/text-based-repaint.js"></script>
24 <script>
25 function repaintTest() {
26 if (!window.testRunner)
27 return;
28 eventSender.mouseMoveTo(50, 50);
29 }
30 window.addEventListener("load", runRepaintTest);
31 </script>
32 <div id="div_border"></div>
33 <div id="div_outline"></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/hover-pseudo-borders-whitespace-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698