Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / visibility / visibility-composited.html
blob5691060eb2793ff2829260dec6d775bbdf537aea
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 .set {
7 position: absolute;
8 top: 8px;
10 .box {
11 height: 100px;
12 width: 100px;
13 background-color: blue;
16 .hidden {
17 visibility: hidden;
20 .container.hidden {
21 outline: 4px solid red;
24 .visible {
25 visibility: visible;
27 .should-be-hidden {
28 background-color: red !important;
30 .should-be-visible {
31 background-color: green !important;
33 .composited {
34 transform: translateZ(1px);
37 .visible-indicator {
38 background-color: green;
41 .hidden-indicator {
42 background-color: red;
44 </style>
45 </head>
46 <body>
47 <!-- Tests various configurations of visibility:hidden and visible compositing layers. -->
48 <!-- You should see a green vertical bar, with no red. -->
49 <div class="set">
50 <div class="visible-indicator box"></div>
51 <div class="visible-indicator box"></div>
52 <div class="hidden-indicator box"></div>
53 </div>
55 <div class="set">
56 <div class="container">
57 <div class="hidden composited box should-be-hidden">
58 </div>
59 </div>
61 <div class="hidden container">
62 <div class="composited box should-be-hidden">
63 </div>
64 </div>
66 <div class="hidden container">
67 <div class="visible composited box should-be-visible">
68 </div>
69 </div>
70 </div>
71 </body>
72 </html>