summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-clip-text-1a.html
blob: cc1ef9be34721119b0659e67bf8b2abc1b6d11b1 (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
<!doctype HTML>
<html>
  <head>
    <title>background-clip: text</title>
    <style>
      div.out {
        width: 500px;
        height: 300px;
        margin: 0px;
        background-image: linear-gradient(green, green);
        background-clip: text;
        color: transparent;
        font-size: 100px;
        font-family: serif;
        -moz-osx-font-smoothing: grayscale;
      }
    </style>
  </head>
  <body style="margin: 0px;">
    <div class="out">
      TEXT clip
      <div style="display:inline-block; width:0px; height:200px;"/>
    </div>
  </body>
</html>