| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../resources/common.js"></script> | 3 <script src="../resources/common.js"></script> |
| 4 <script src="../../repaint/resources/text-based-repaint.js"></script> |
| 4 <input type="radio"> | 5 <input type="radio"> |
| 5 <!-- A keydown event after mouse-focus should draw a focus ring. --> | 6 <!-- A keydown event after mouse-focus should draw a focus ring. --> |
| 6 <script> | 7 <script> |
| 8 window.onload = runRepaintTest; |
| 9 window.enablePixelTesting = true; |
| 7 eventSender.mouseMoveTo(800, 600); | 10 eventSender.mouseMoveTo(800, 600); |
| 8 clickElement(document.querySelector('input')); | 11 clickElement(document.querySelector('input')); |
| 9 eventSender.keyDown('leftShift'); | 12 function repaintTest() { |
| 13 eventSender.keyDown('leftShift'); |
| 14 } |
| 10 </script> | 15 </script> |
| 11 </body> | 16 </body> |
| OLD | NEW |