servo/tests/wpt/css-tests/css-masking-1_dev/html/test-mask.htm

27 lines
No EOL
1,021 B
HTML

<!DOCTYPE html>
<html><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.htm" 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>