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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent-expected.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-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent-expected.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..ea1db4bc1d46da5636f4bbcc0b70822300f7027d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-equivalent-expected.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<style>
+#container {
+ overflow: hidden;
+ will-change: transform;
+ 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