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