Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / sub-pixel / clip-sub-pixel-composited-layer-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 h1 {
6         overflow: hidden;
7         position: relative;
8         display: inline-block;
9         width: 14px;
10         height: 14px;
11 }
12 span {
13         display: block;
14         position: absolute;
15         width: 10px;
16         height: 10px;
17         border: 2px solid black;
18 }
19 div {
20         padding-left: 10.5px;
21         position: absolute;
22 }
23 </style>
24 </head>
25 <body>
26 <p>This tests that we properly clip sub-pixel positioned composited layers. There should be no red visible.</p>
27 <div>
28         <h1>
29                 <span></span>
30         </h1>
31 </div>