summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/root-element-background-image-transparency-002.html
blob: 0da51986f1ca2426cce7383547012e28d096e318 (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
<!DOCTYPE html>
<html>
  <head>
    <title>Opacity on Root Element With background image</title>
    <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
    <link rel="help" href="https://drafts.fxtf.org/compositing/#pagebackdrop">
    <meta name="assert" content="The background image should have opacity applied to
    it as part of the Root Element Group">
    <link rel="match" href="root-element-background-image-transparency-001-ref.html">
    <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-9600" />
    <style>
      html {
        background: url(support/transform-triangle-left.svg) fixed;
        opacity: 0.5;
      }
      body {
        /* The default 8px margin makes the background not line up exactly */
        margin: 0;
      }
    </style>
  </head>
  <body>
  </body>
</html>