summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast/backplate-bg-image-012-ref.html
blob: d539fe1731de775fb315a7f829cbb3f6481aafb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>Reference: Empty canvas objects and images that do not share lines with text should not receive backplates.</title>
<style>
  .outer {
    background-image: url("blue.png");
  }
  canvas {
    height: 100px;
    width: 100px;
  }
  .fake-backplate {
    background-color: white;
  }
</style>
<div class="outer">
  <canvas></canvas>
  <br>
  <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>" style="border:1px solid black; height:100px; width:100px;">
  <br>
  <span class="fake-backplate">Here is some alt text</span>
</div>