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

Unified Diff: third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html

Issue 1630693003: Fix offset issue of background-attachment:fixed on scroller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/overflow/fixed-background-on-scroller-scroll-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html b/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..4612456192459ee6012a5882bf980adb6e80c320
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar {
+ display: none;
+}
+</style>
+Tests painting of scrolled container with fixed background.
+Passes if the background doesn't scroll.
+<div style="width: 200px; height: 200px; overflow: scroll; background: linear-gradient(red, blue); background-attachment: fixed">
+ <div style="height: 2000px"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698