Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / ZeroOpacityLayers2.html
blob1605a435787bc7b3a5a5493e56abff2dd7b002d6
1 <html>
2 <head>
3 <style>
4 DIV.one {
5 position:absolute;
6 top:10px;
7 left:10px;
8 background-color:rgb(0,0,255);
9 width:200px;
10 height:200px;
13 DIV.two {
14 position:absolute;
15 top:10px;
16 left:10px;
17 background-color:rgb(0,255,0);
18 width:180px;
19 height:180px;
22 DIV.three-a {
23 position:absolute;
24 top:10px;
25 left:10px;
26 background-color:rgb(255,0,0);
27 width:160px;
28 height:160px;
29 opacity:0;
31 DIV.three-b {
32 position:absolute;
33 top:80px;
34 left:80px;
35 background-color:rgb(255,255,0);
36 width:200px;
37 height:200px;
38 opacity:0.5;
40 DIV.four {
41 position:absolute;
42 top:10px;
43 left:10px;
44 background-color:rgb(255,255,255);
45 width:140px;
46 height:140px;
47 opacity:0.5;
49 P.desc {
50 position: absolute;
51 top:300px;
52 left:10px;
54 </style>
55 </head>
56 <body>
57 <div class="one">
58 <div class="two">
59 <div class="three-a">
60 Should not see this text.
61 <div class="four">
62 Should not see this text.
63 </div>
64 </div>
65 <div class="three-b">
66 </div>
67 </div>
68 </div>
69 <p class="desc">
70 Below are four boxes all within each other, and a box overlaping other boxes. The 3rd inner box is red, and has an opacity of zero, and the box within it is black and has an opacity of 0.5. As the third box has opacity zero, the inner black is not visible. The yellow block has opacity of 0.5, and is as the same level in the DOM tree as the 3rd inner box.
71 </div>
72 </body>
73 </html>