summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/clip-path/clip-path-inset-002-ref.html
blob: 1c15399e3d3676a24b7c01ec9fc522be43dacf69 (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
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
  <title>CSS Masking: Reference for clip-path's inset function (with rounded corners) 002</title>
  <link rel="author" title="Manish Goregaokar" href="mailto:manish@mozilla.com">
  <style type="text/css">
    #square {
      width: 180px;
      height: 180px;
      background-color: green;
      position: relative;
      top: 10px;
      left: 10px;
      border-radius: 20px;
    }
  </style>
</head>
<body>
  <p>The test passes if there is a green rect not touching the sides with rounded corners</p>
  <div id="square"></div>
</body>
</html>