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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html

Issue 2280243002: Don't apply overflow clips in paint invalidation. (Closed)
Patch Set: none Created 4 years, 4 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
Index: third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html b/third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html
new file mode 100644
index 0000000000000000000000000000000000000000..3872bdb84f7d9a15429ba96948e5bc03bcf0943b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<div id="scroller" style="overflow: hidden; width: 300px; height: 300px; backface-visibility: hidden; border: 1px solid black">
+ <div style="width: 300px; height: 600px"></div>
+ <div style="width: 100px; height: 100px; background: lightgray"></div>
+</div>
+<script>
+onload = runRepaintTest;
+
+function repaintTest() {
+ scroller.scrollTop = 400;
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698