Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / hover-pseudo-borders-whitespace.html
blob5b1707fd2f23e2bf2b3ed4093582c96bfd94e9d5
1 <!-- Based on fast/repaint/hover-pseudo-borders-whitespace.html -->
2 <!doctype html>
3 <style>
5 div {
6 width: 100px;
7 height: 100px;
10 #div_border {
11 border: 10px solid;
14 #div_outline {
15 outline: 10px solid;
16 margin: 20px 0 0 10px;
19 #div_border:hover, #div_border:hover + #div_outline {
20 color: green;
23 </style>
24 <script src="resources/paint-invalidation-test.js"></script>
25 <script>
26 window.expectedPaintInvalidationObjects = [
27 "LayoutBlockFlow DIV id='div_border'",
28 "LayoutBlockFlow DIV id='div_outline'",
30 function paintInvalidationTest() {
31 if (!window.testRunner)
32 return;
33 eventSender.mouseMoveTo(50, 50);
35 window.addEventListener("load", runPaintInvalidationTest);
36 </script>
37 <div id="div_border"></div>
38 <div id="div_outline"></div>