OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .hitregion { | 5 .hitregion { |
6 width: 100px; | 6 width: 100px; |
7 height: 100px; | 7 height: 100px; |
8 background-color: red; | 8 background-color: red; |
9 } | 9 } |
10 .hitregion:after { | 10 .hitregion:after { |
(...skipping 15 matching lines...) Expand all Loading... |
26 </style> | 26 </style> |
27 <script src="resources/text-based-repaint.js"></script> | 27 <script src="resources/text-based-repaint.js"></script> |
28 <script> | 28 <script> |
29 function repaintTest() { | 29 function repaintTest() { |
30 if (!window.testRunner) | 30 if (!window.testRunner) |
31 return; | 31 return; |
32 eventSender.mouseMoveTo(50, 50); | 32 eventSender.mouseMoveTo(50, 50); |
33 eventSender.mouseDown(); | 33 eventSender.mouseDown(); |
34 eventSender.mouseUp(); | 34 eventSender.mouseUp(); |
35 } | 35 } |
36 window.addEventListener("load", runRepaintTest); | 36 window.addEventListener("load", runRepaintAndPixelTest); |
37 </script> | 37 </script> |
38 </head> | 38 </head> |
39 <body> | 39 <body> |
40 <!-- | 40 <!-- |
41 REGRESSION: :hover doesn't work on :after content with borders or outlines. | 41 REGRESSION: :hover doesn't work on :after content with borders or outlines. |
42 To test this bug outside DRT, hover on the square below. | 42 To test this bug outside DRT, hover on the square below. |
43 This test passes if there are two green squares. | 43 This test passes if there are two green squares. |
44 --> | 44 --> |
45 <div class="hitregion"></div> | 45 <div class="hitregion"></div> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |