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

Unified Diff: LayoutTests/compositing/fixed-background-negative-z-index-fixed-expected.html

Issue 13462003: Add support for accelerated fixed root background (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@background-attachment-fixed2
Patch Set: Moved the layout tests. Created 7 years, 6 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: LayoutTests/compositing/fixed-background-negative-z-index-fixed-expected.html
diff --git a/LayoutTests/compositing/fixed-background-negative-z-index-fixed-expected.html b/LayoutTests/compositing/fixed-background-negative-z-index-fixed-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..9712f8f76aaeba60df042d09cb9bd8efdec55ff3
--- /dev/null
+++ b/LayoutTests/compositing/fixed-background-negative-z-index-fixed-expected.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 2000px;
+ background-image: url('../../../../compositing/resources/simple_image.png');
+ background-size: 200px 200px;
+ background-attachment: fixed;
+ overflow: hidden; /* hide scrollbar */
+ }
+ .fixed {
+ position: fixed;
+ z-index: -1;
+ top: 50px;
+ left: 50px;
+ width: 200px;
+ height: 200px;
+ background-color: silver;
+ }
+ </style>
+</head>
+<body>
+
+ <div class="fixed box"></div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698