summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/visibility/visibility-remove-layer-expected.html
blob: d42c6fa523fc31562e213afe4cdabd738437d8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
  <style>
    .set {
      position: absolute;
      top: 8px;
    }
    .box {
      height: 100px;
      width: 100px;
      background-color: blue;
    }
    
    .hidden {
      visibility: hidden;
    }

    .container.hidden {
      outline: 4px solid red;
    }

    .visible {
      visibility: visible;
    }
    .should-be-hidden {
      background-color: red !important;
    }
    .should-be-visible {
      background-color: green !important;
    }
    
    .visible-indicator {
      background-color: green;
    }

    .hidden-indicator {
      background-color: red;
    }
  </style>
</head>
<body>
  <div class="set">
    <div class="hidden-indicator box"></div>
  </div>

  <div class="set">
    <div class="hidden container">
      <div id="target" class="hidden">
        <div class="visible box should-be-visible"></div>
      </div>
    </div>
  </div>
</body>
</html>