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

Unified Diff: third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.html
diff --git a/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-scroll.html b/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.html
similarity index 56%
copy from third_party/WebKit/LayoutTests/paint/overflow/fixed-background-scroll.html
copy to third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.html
index f1e672be362048be7661fa9488f473aadb5c1e08..df70dcfe93da4adb7c1212af2847efe46ee440ea 100644
--- a/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-scroll.html
+++ b/third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll.html
@@ -4,10 +4,10 @@
display: none;
}
</style>
-Tests painting of fixed background content in scrolled container.
+Tests painting of scrolled container with fixed background.
Passes if the background doesn't scroll.
-<div id="container" style="width: 200px; height: 200px; overflow: scroll">
- <div id="content" style="height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed"></div>
+<div id="container" style="width: 200px; height: 200px; overflow: scroll; background: linear-gradient(red, blue); background-attachment: fixed">
+ <div style="height: 2000px"></div>
</div>
<script>
onload = function() {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/overflow/fixed-background-on-scroller-scroll-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698