wpt / svg / styling / svg-filter-render-web-plugin.tentative.https.html

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

/svg/styling/svg-filter-render-web-plugin.tentative.https.html

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<link rel="match" href="svg-filter-render-web-plugin-ref.tentative.html">
<style type="text/css">
    .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 web plugin.
    </div>
    <br />
    <div>
        <embed class="svg-filter" width="100px" height="100px" type="application/x-webkit-test-webplugin"></embed>
    </div>
</body>
</html>

/svg/styling/svg-filter-render-web-plugin-ref.tentative.html

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<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 web plugin.
    </div>
    <br />
    <div>
        <embed width="100px" height="100px" type="application/x-webkit-test-webplugin"></embed>
    </div>
</body>
</html>