Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / sub-pixel / nested-sub-pixel-composited-layers-expected.html
blob812a9e1da8ccb075ecd4307d42f031ab183100c1
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .subPixelContainer {
6 left: 10.5px;
7 width: 100px;
8 height: 100px;
9 position: relative;
10 transform: translateZ(0);
12 .overflowHidden {
13 overflow: hidden;
15 .ref {
16 position: absolute;
17 width: 50.5px;
18 right: 0px;
19 height: 50px;
20 background-color: green;
22 </style>
23 </head>
24 <body>
25 <div>This tests that sub-pixel offsets in nested composited layers are properly accumulated. You should see no red.</div>
26 <div class="subPixelContainer">
27 <div class="ref"></div>
28 </div>
29 <div class="subPixelContainer overflowHidden">
30 <div class="ref"></div>
31 </div>