summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/text-clip-and-no-stroke.html
blob: 6210dd4a6a072113b45d748ae8a196a121c83638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<style>
	p {
          margin: 1em 0;
          padding: 1.4em;
          background: linear-gradient(60deg, red, yellow, red, yellow, red);
          font: 900 1.2em sans-serif;
          text-decoration: underline;
          -webkit-background-clip: text;
          color: rgba(0,0,0,.2);
        }
      </style>

<p>The background is clipped to the foreground text.</p>