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

Unified Diff: third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled-expected.html

Issue 1419823005: Invalidate background-attachment:fixed on scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 2 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/compositing/repaint/background-attachment-fixed-scrolled-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled-expected.html b/third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..7ac305c13ed56bc6432d6b5212ba0cc272e7fa97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/repaint/background-attachment-fixed-scrolled-expected.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+#bloat {
+ height: 1000px;
+}
+
+#composited-background-attachment-fixed {
+ position: absolute;
+ left: 50px;
+ top: 200px;
+ width: 500px;
+ height: 1000px;
+ background: url('resources/grid.png') -50px -77px;
+ will-change: opacity;
+}
+</style>
+<div id="bloat">
+The test verifies background-attachment:fixed gets invalidated after scroll even if they are composited.
+</div>
+<div id="composited-background-attachment-fixed"></div>
+<script>
+scrollTo(0, 123);
+</script>

Powered by Google App Engine
This is Rietveld 408576698