wpt / css / css-masking / clip-path / clip-path-filter-radius-clips.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-masking/clip-path/clip-path-filter-radius-clips.html

<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-masking-1/#clipping-paths">
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
<link rel="match" href="reference/clip-path-filter-radius-clips-ref.html">
<meta name="assert" content="For crbug.com/1099234, ensure correct clip hierarchy with clip-path, filter and border radius clips">
<div style="width: 400px; height: 400px; border-radius: 10px; contain: paint">
  <div style="width: 400px; height: 400px; border-radius: 10px; contain: paint">
    <div style="width: 100px; height: 10px; will-change: transform; clip-path: circle(50%)"></div>
    <div style="margin-left: 10px; filter: invert(100%); will-change: filter;
                width: 100px; height: 100px; background: magenta"></div>
  </div>
</div>

/css/css-masking/clip-path/reference/clip-path-filter-radius-clips-ref.html

<!DOCTYPE html>
<div style="padding: 10px">
  <div id="blur" style="will-change: filter; width: 100px; height: 100px; background: lime"></div>
</div>