Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>'box-decoration-break: slice' and 'mask-image'</title>
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="reference/mask-image-inline-sliced-1-ref.html">
<style>
.mask-image {
font: 100px/1 Ahem;
color: green;
-webkit-mask-image: linear-gradient(to right, white 50%, transparent 50%);
mask-image: linear-gradient(to right, white 50%, transparent 50%);
}
</style>
<p>There should be a green square below.</p>
<div style="width: 100px">
<span class="mask-image">A A</span>
</div>