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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled-expected.html

Issue 2194913002: Ensure that we consistently check contains: paint for fixed position containment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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/fast/css/containment/paint-containment-with-fixed-position-scrolled-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled-expected.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..1f5f69fb5bf1b1e1629a6063a0fb4cd78c16f960
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled-expected.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+}
+.box {
+ background-color: green;
+}
+.spacer {
+ position:absolute;
+ height: 2000px;
+}
+</style>
+<script>
+onload = function() {
+ window.scrollTo(0, 25);
+};
+</script>
+<body>
+<div class="spacer"></div>
+<div class="box"></div>

Powered by Google App Engine
This is Rietveld 408576698