Status: PASS | Duration: 24ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/svg/styling/svg-filter-render-cross-origin-frame-in-cross-origin-frame.tentative.sub.https.html
<!DOCTYPE html> <html class="reftest-wait"> <head> <link rel="match" href="svg-filter-render-cross-origin-frame-in-cross-origin-frame-ref.tentative.html"> <style type="text/css"> iframe { border: none; } .svg-filter { filter: url(#svg-filter); } </style> <script src="/common/reftest-wait.js"></script> <script src="/svg/styling/support/svg-filter-render-util.js"></script> <script> onload = async () => { await waitForRender(takeScreenshot); }; </script> </head> <body> <svg width="0" height="0" display="none"> <filter id="svg-filter"> <feGaussianBlur in="SourceGraphic" stdDeviation="5" /> </filter> </svg> <div> SVG filter security test: this test passes if there is no filter effect on the cross-origin frame in the cross-origin frame. </div> <br /> <div> <iframe class="svg-filter" width="100px" height="100px" src="https://{{hosts[alt][]}}:{{ports[https][0]}}/svg/styling/support/svg-filter-render-cross-origin-iframe.sub.html"></iframe> </div> </body> </html>
/svg/styling/svg-filter-render-cross-origin-frame-in-cross-origin-frame-ref.tentative.html
<!DOCTYPE html> <html class="reftest-wait"> <head> <style type="text/css"> iframe { border: none; } </style> <script src="/common/reftest-wait.js"></script> <script src="/svg/styling/support/svg-filter-render-util.js"></script> <script> onload = async () => { await waitForRender(takeScreenshot); }; </script> </head> <body> <div> SVG filter security test: this test passes if there is no filter effect on the cross-origin frame in the cross-origin frame. </div> <br /> <div> <iframe width="100px" height="100px" src="/svg/styling/support/svg-filter-render-cross-origin-iframe.sub.html"></iframe> </div> </body> </html>