servo/tests/wpt/css-tests/css-masking-1_dev/xhtml1/mask-image-1a.xht

26 lines
No EOL
964 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>CSS Masking: mask-image: mask layer image</title>
<link href="mailto:aschen@mozilla.com" rel="author" title="Astley Chen" />
<link href="https://www.mozilla.org" rel="author" title="Mozilla" />
<link href="https://www.w3.org/TR/css-masking-1/#the-mask-image" rel="help" />
<link href="reference/mask-image-1-ref.xht" rel="match" />
<meta content="Test checks whether image as mask layer works correctly or not." name="assert" />
<style type="text/css">
div {
background-color: purple;
width: 100px;
height: 100px;
}
div.mask-by-png {
mask-image: url(support/transparent-100x50-blue-100x50.png);
}
</style>
</head>
<body>
<div class="mask-by-png"></div>
</body></html>