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

Unified Diff: third_party/WebKit/LayoutTests/compositing/fixed-position-container.html

Issue 2683433002: Set m_graphicsLayer as fixed position container (Closed)
Patch Set: Add test, remove cc workaround Created 3 years, 10 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/compositing/fixed-position-container.html
diff --git a/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html b/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html
new file mode 100644
index 0000000000000000000000000000000000000000..21f77bb7f69fa3a3ccc7cad8c9039ee6bec5abcd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/fixed-position-container.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+
+<style>
+ #clip {
+ position: absolute;
+ overflow: hidden;
+ width: 300px;
+ height: 300px;
+ }
+
+ #transform {
+ transform: scale3d(2, 2, 1);
+ background-color: blue;
+ width: 200px;
+ height: 200px;
+ }
+
+ #fixed {
+ will-change: transform;
+ position: fixed;
+ top: 50px;
+ left: 50px;
+ width: 100px;
+ height: 100px;
+ background-color: green;
+ }
+</style>
+
+<div id='clip'>
+ <div id='transform'>
+ <div id='fixed'></div>
+ </div>
+</div>
« no previous file with comments | « cc/layers/layer.cc ('k') | third_party/WebKit/LayoutTests/compositing/fixed-position-container-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698