Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | |
| 3 <script> | |
| 4 function repaintTest() { | |
| 5 eventSender.mouseMoveTo(195, 120); | |
|
chrishtr
2016/07/11 19:03:26
Is this going to be reliable on all platforms?
Xianzhu
2016/07/11 19:09:12
Yes. The frame is absolutely positioned, and the s
| |
| 6 } | |
| 7 if (window.eventSender) | |
| 8 onload = runRepaintTest; | |
| 9 </script> | |
| 10 Tests paint invalidation when mouse hovers on the scrollbar in an iframe. | |
| 11 <iframe id="iframe" | |
| 12 style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px" | |
| 13 srcdoc="<div style='height: 300px'></div>"></iframe> | |
| OLD | NEW |