Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / images / direct-pdf-image.html
blob09144569f0d185f26b72addee0338db7230dc598
1 <!DOCTYPE>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 body {
7 margin: 0;
10 img {
11 position: relative;
12 display: block;
13 width: 100px;
14 height: 100px;
17 .composited {
18 transform: translateZ(0);
21 #indicator {
22 position: absolute;
23 top: 0;
24 background-color: red;
25 width: 100px;
26 height: 200px;
28 </style>
29 </head>
30 <body>
32 <div id="indicator"></div>
34 <img src="../../fast/images/resources/green_rectangle.pdf">
35 <img class="composited" src="../../fast/images/resources/green_rectangle.pdf">
37 <!-- You should see no red above -->
39 </body>
40 </html>