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: LayoutTests/compositing/squashing/squash-simple.html

Issue 88863002: Land layer squashing behind a flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: not perfect but can be reviewed Created 7 years, 1 month 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/squashing/squash-simple.html
diff --git a/LayoutTests/compositing/squashing/squash-simple.html b/LayoutTests/compositing/squashing/squash-simple.html
new file mode 100644
index 0000000000000000000000000000000000000000..e53ffe83dfd7a84abd2f03f917748064647e569d
--- /dev/null
+++ b/LayoutTests/compositing/squashing/squash-simple.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<head>
+<style>
+.composited {
+-webkit-transform: translatez(0);
+}
+
+.box {
+ width: 100px;
+ height: 100px;
+}
+
+.behind {
+ position: absolute;
+ z-index: 1;
+ top: 100px;
+ left: 100px;
+ background-color: blue;
+}
+
+.middle {
+ position: absolute;
+ z-index: 1;
+ top: 20px;
+ left: 20px;
+ background-color: lime;
+}
+
+.top {
+ position: absolute;
+ z-index: 1;
+ top: 180px;
+ left: 180px;
+ background-color: cyan;
+}
+
+
+</style>
+</head>
+<body>
+<div class="composited box behind"></div>
+<div class="box middle"></div>
+<div class="box top"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698