summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/clip-path-inline-004-ref.html
blob: 9dfce3f7fae6e3c9c49661eb432d8df4363afc4c (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: 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>