Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-masking/clip-path/clip-path-url-reference-empty-while-loading.tentative.html
<!doctype html> <html class="reftest-wait"> <title>clip-path url()s are represented as empty paths while loading</title> <script src="/common/reftest-wait.js"></script> <script src="/common/rendering-utils.js"></script> <link rel="help" href=""> <link rel="match" href="reference/green-100x100.html"> <div style="width: 100px; height: 100px; background-color: green"> <div id="target" style="width: 100px; height: 100px; background-color: red"></div> </div> <script> onload = () => { const div = document.getElementById('target'); div.style.clipPath = `url("support/resources.svg?pipe=trickle(d10)#circleClip")`; waitForAtLeastOneFrame().then(takeScreenshot); }; </script>
/css/css-masking/clip-path/reference/green-100x100.html
<!DOCTYPE html> <div style="width: 100px; height: 100px; background-color: green"></div>