summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast/backplate-bg-image-010-ref.html
blob: 1472791cde81365e9182b3bb500a9a76f7c4af92 (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
<!DOCTYPE html>
<title>Reference: Only lines containing visible content (visibility: visible) should receive backplates.</title>
<style>
  .outer {
    background-image: url("blue.png");
  }
  .hidden {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .fake-backplate {
    background-color: white;
  }
</style>
<div class="outer">
  <div>
    <span class="fake-backplate">AAAA</span>
    <div class="hidden">BBBB</div>
    <span class="fake-backplate">CCCC</span>
    <div class="hidden">
      DDDD
      <div class="visible"><span class="fake-backplate">EEEE</span></div>
      FFFF
    </div>
  </div>
  <div class="fake-backplate" style="display: inline-block;">
    <span class="fake-backplate">GGGG</span>
    <br>
    <span class="fake-backplate">HHHH</span>
    <span class="hidden">IIII</span>
    <span class="fake-backplate">JJJJ</span>
    <span class="hidden">
      KKKK
      <span class="visible fake-backplate">LLLL</span>
      MMMM
    </span>
    <span class="fake-backplate">NNNN</span>
    <span class="hidden">
      <span style="display:inline-block">
        1
        <span class="visible fake-backplate">2</span>
      </span>
      <span style="display:inline-block" class="visible fake-backplate">
        3
      </span>
    4
  </span>
  </div>
</div>