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

Unified Diff: LayoutTests/compositing/child-transform-with-anchor-point-expected.html

Issue 193663004: The "children transform layer" needs an anchor point (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Need to apply the anchor point to any layer that could be the children transform layer. Created 6 years, 9 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/child-transform-with-anchor-point-expected.html
diff --git a/LayoutTests/compositing/child-transform-with-anchor-point-expected.html b/LayoutTests/compositing/child-transform-with-anchor-point-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..fa8c5fc90c17cf4f27e5b3b75a87fd2a6c998113
--- /dev/null
+++ b/LayoutTests/compositing/child-transform-with-anchor-point-expected.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ body {
+ overflow: hidden;
+ }
+
+ #perspective {
+ -webkit-perspective: 1000px;
+ position: absolute;
+ width: 600px;
+ left: -600px;
+ }
+
+ #transformed {
+ -webkit-transform: rotateY(90deg);
+ -webkit-transform-origin: right;
+ background: green;
+ height: 800px;
+ }
+
+ #container {
+ position: relative;
+ overflow: hidden;
+ width: 800px;
+ height: 600px;
+ }
+ </style>
+ </style>
+ </head>
+ <body>
+ <!-- The green rectangle should be visible. -->
+ <div id="container">
+ <div id="perspective">
+ <div id="transformed"></div>
+ </div>
+ </div>
+ </body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698