Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / reflections / nested-reflection-transformed.html
blob475e1dceffcd649d304f017e00b54205a5c3328c
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <style>
6 .outer {
7 width: 120px;
8 height: 230px;
9 margin: 20px;
10 border: 1px solid black;
11 -webkit-box-reflect: right 10px;
14 .inner {
15 margin: 10px;
16 width: 100px;
17 height: 100px;
18 background-color: green;
19 text-align: center;
20 font-size: 50pt;
21 -webkit-box-reflect: below 10px;
24 .composited {
25 transform: translateZ(0);
27 </style>
28 <script type="text/javascript" charset="utf-8">
29 function doTest()
31 document.getElementById('inner').style.webkitTransform = 'rotate(10deg)';
33 window.addEventListener('load', doTest, false);
34 </script>
35 </head>
36 <body>
37 <p>Test transform change on reflected elements. Left and right side should be symmetrical.</p>
38 <div class="outer composited">
39 <div id="inner" class="inner composited">
41 </div>
42 </div>
43 </body>
44 </html>