Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover.html b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..561030d67e38f30cae7cae9578d9110a7addb06a |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| +<script> |
| +function repaintTest() { |
| + 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
|
| +} |
| +if (window.eventSender) |
| + onload = runRepaintTest; |
| +</script> |
| +Tests paint invalidation when mouse hovers on the scrollbar in an iframe. |
| +<iframe id="iframe" |
| + style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px" |
| + srcdoc="<div style='height: 300px'></div>"></iframe> |