summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/cross-fade-natural-size-ref.html
blob: ad9752b7eb4d618cf3a5e476269609b49239daa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <head>
    <title>CSS reftest Reference</title>
    <style>
      div {
        margin: 2px;
      }
      .div1::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='375' height='350' style='background: black'><rect fill='red' width='140.625' height='131.25' fill-opacity='0.75'/><rect fill='blue' width='187.5' height='262.5' fill-opacity='0.25' style='mix-blend-mode: screen'/></svg>");
      }
      .div2::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='375' height='350' style='background: black'><rect fill='red' width='140.625' height='131.25' fill-opacity='0.375'/><rect fill='blue' width='187.5' height='262.5' fill-opacity='0.125' style='mix-blend-mode: screen'/><rect fill='green' width='375' height='350' fill-opacity='0.5' style='mix-blend-mode: screen'/></svg>");
      }
    </style>
  </head>
  <p>This image should be 375x350, with a black background.</p>
  <div class="div1"></div>
  <p>This image should be identical in both size and appearance, except for a green tinge.</p>
  <div class="div2"></div>
</html>