Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover.html

Issue 2136133002: Fix under-invalidation of frame scrollbar on hover (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ObjectInvalidation
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/iframe-scrollbar-hover-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698