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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html

Issue 2498823002: Paint invalidation of local attachment backgrounds (Closed)
Patch Set: - Created 4 years, 1 month 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/compositing/background-attachment-local-equivalent.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html
new file mode 100644
index 0000000000000000000000000000000000000000..86ba5d1a74bc63e91402ecea1b372504286ca744
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar {
+ display: none;
+}
+#container {
+ overflow: scroll;
+ width: 400px;
+ height: 400px;
+
+ background-attachment: local;
+ background-color: blue;
+}
+
+#child {
+ height: 500px;
+}
+</style>
+<div id="container">
+ <div id="child"></div>
+</div>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ child.style.height = '2000px';
+ container.scrollTop = 2000;
+}
+onload = runRepaintAndPixelTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698