wpt / css / css-masking / mask-image / mask-image-ib-split.html

Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-masking/mask-image/mask-image-ib-split.html

<!DOCTYPE html>
<title>CSS Test: mask-image on an inline with a block inside split by a columnset</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#mask-layer-image">
<link rel="match" href="reference/mask-image-ib-split-ref.html">
<meta name="assert" content="mask-image applies to the block child">
<style>
  body { column-width: 40px; column-gap: 0; }
  div { padding-inline-start: 40px; margin: 1em 0; border-bottom-style: solid; }
  span { margin-inline-end: -2px; }
  x { mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGDwAQAAUQBNt+pgmgAAAABJRU5ErkJggg==); }
</style>
<body><x><span></span><div></div></x></body>
</html>

/css/css-masking/mask-image/reference/mask-image-ib-split-ref.html

<!DOCTYPE html>
<title>CSS Reference: mask-image on an inline with a block inside split by a columnset</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<style>
  body { column-width: 40px; column-gap: 0; }
  div { padding-inline-start: 40px; margin: 1em 0; border-bottom-style: solid; }
  span { margin-inline-end: -2px; }
  div { mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGDwAQAAUQBNt+pgmgAAAABJRU5ErkJggg==); }
</style>
<body><x><span></span><div></div></x></body>
</html>