summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/mask-image/mask-clip-1-ref.html
blob: 3925bd4f1db4fa25b93e9e121afdf0940ae0bd4b (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
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS mask-clip reference</title>
    <link rel="author" title="Astley Chen" href="mailto:aschen@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <style type="text/css">
      div {
        position: absolute;
        top: 10px;
        background-color: purple;
      }

      div.border {
        left: 10px;
        margin: 1px 4px;
        width: 60px;
        height: 25px;
      }

      div.padding {
        left: 110px;
        margin: 9px 10px;
        width: 52px;
        height: 17px;
      }

      div.content {
        left: 210px;
        margin: 15px 13px;
        width: 40px;
        height: 11px;
      }

      div.no-clip {
        left: 310px;
        margin: 1px 4px;
        width: 100px;
        height: 25px;
      }
    </style>
  </head>
  <body>
    <div class="color border"></div>
    <div class="color padding"></div>
    <div class="color content"></div>
    <div class="color no-clip"></div>
  </body>
</html>