summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/clip-path-inline-009-ref.html
blob: 26da94d8f3b3c1cb9e8d7004e72b2f60d684ccdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<meta content="ahem" name="flags">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
  .container {
    font: 100px/1 Ahem;
    line-height: 100px;
  }
  .container > span {
    margin-left: 50px;
    clip-path: circle(50%);
    color: green;
  }
</style>
<p>Test passes if there is a filled green circle with radius 50px.
<div class="container">
  <span>X</span>
</div>