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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 overflow: hidden;
7 }
8
9 #perspective {
10 -webkit-perspective: 1000px;
11 position: absolute;
12 width: 600px;
13 left: -600px;
14 }
15
16 #transformed {
17 -webkit-transform: rotateY(90deg);
18 -webkit-transform-origin: right;
19 background: green;
20 height: 800px;
21 }
22
23 #container {
24 position: relative;
25 overflow: hidden;
26 width: 800px;
27 height: 600px;
28 }
29 </style>
30 </style>
31 </head>
32 <body>
33 <!-- The green rectangle should be visible. -->
34 <div id="container">
35 <div id="perspective">
36 <div id="transformed"></div>
37 </div>
38 </div>
39 </body>
40 </html>
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698