Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / geometry / transfrom-origin-on-zero-size-layer.html
blob3e9fab84c470a5deeeb7329dca4bc176a14f5641
1 <!DOCTYPE>
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>Transform-clipping bug</title>
7 <style type="text/css" media="screen">
8 body {
9 margin: 0;
12 .zero-size-item {
13 position: absolute;
14 top: 10px;
15 left: 10px;
16 height: 0px;
17 width: 0px;
18 -webkit-transform-origin: 0 100px;
19 transform: scale3d(0.5, 0.5, 1);
22 .box {
23 position: absolute;
24 width: 100px;
25 height: 100px;
26 background-color: green;
27 transform: translateZ(10px);
30 #indicator {
31 position: absolute;
32 top: 60px;
33 left: 10px;
34 width: 50px;
35 height: 50px;
36 background-color: red;
38 </style>
39 </head>
40 <body>
42 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=29495">29495</a>. You should see one green box below, with no red.</p>
43 <div id="indicator"></div>
45 <div class="zero-size-item">
46 <div class="box"></div>
47 </div>
49 </body>
50 </html>