summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01d.xhtml
blob: e59812267d5ecef20c2ea06642d78721134f96ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<style>
  div {
    width: 100px;
    height: 100px;
    clip-path: url(#c1);
    background-color: blue;
    opacity: 0.5;
  }
</style>
</head>
<body>
  <div/>
  <svg:svg height="0">
    <svg:clipPath id="c1">
      <svg:rect x="0" y="0" width="50" height="100"/>
    </svg:clipPath>
  </svg:svg>
</body>
</html>