Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / clip / 008.html
blob0b5cc7c095637facfa6397486566d52749ba2679
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <style>
5 div {
6 width: 100px;
7 height: 100px;
10 .green {
11 background-color: green;
14 .red {
15 background-color: red;
18 .overflow {
19 overflow: hidden;
22 .positioned {
23 position: absolute;
26 .fixed {
27 position: fixed;
28 left: 100px;
29 top: 100px;
32 .offset {
33 margin-left: 100px;
34 margin-top: 100px;
36 </style>
37 <body>
38 You should see a 100x100 green square below. If you see nothing at all or see any red, the test
39 has failed. This test is checking to make sure overflow is done using
40 a containing block model, and that a fixed positioned element inside an absolute positioned
41 element is not considered overflow.
43 <div class="overflow positioned">
44 <div class="fixed">
45 <div class="offset green overflow"></div>
46 </div>
47 </div>