Mypal/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01b.x...

22 lines
492 B
HTML
Raw Normal View History

2019-03-11 03:26:37 -07:00
<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;
opacity: 0.5;
mask:url(#m1);
background-color: blue;
}
</style>
</head>
<body>
<div/>
<svg:svg height="0">
<svg:mask id="m1" style="mask-type:alpha">
<svg:rect x="0" y="0" width="50" height="100" style="stroke:none; fill: #ffffff"/>
</svg:mask>
</svg:svg>
</body>
</html>