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

27 lines
No EOL
1.1 KiB
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><title>CSS Masking: mask-repeat:round repeat;</title>
<link href="mailto:64835173@qq.com" rel="author" title="Li Jun" />
<link href="mailto:dschulze@adobe.com" rel="reviewer" title="Dirk Schulze" /><!-- 11-09-2013 @TestTWF Shenzhen -->
<link href="http://www.w3.org/TR/css-masking-1/#the-mask-repeat" rel="help" />
<link href="reference/test-mask-ref.xht" rel="match" />
<meta properlyU0003A="" scale="" fit="" working="" area.U00022="" is="" roundU00022="" it="" should="" content="Test checks that the mask-repeart value " to="" the="" whole="" name="assert" />
<style>
.test {
width:200px;
height:200px;
white-space:normal;
background:blue;
mask-image:radial-gradient(black, black);
mask-repeat:round;
mask-size:100px 100px;
mask-box-image:none;
mask-origin:border;
};
</style>
</head><body>
<p>Test passes if there is a blue square and no red.</p>
<div style="width: 200px; height:200px; position: fixed; background-color:red;"></div>
<div class="test"></div>
</body></html>