Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/filter-effects/svg-visibility-hidden-element-with-filter-001.html
<!DOCTYPE html> <title>CSS Filter Effects: ref filters on a hidden svg shape</title> <link rel="help" href="https://drafts.fxtf.org/filter-effects/#FilterProperty"> <link rel="match" href="reference/green-100x100.html"> <meta name="assert" content="This test ensures we properly render filters on a svg shape that is visibility hidden."> <svg> <defs> <filter id="myfilter" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"> <feFlood flood-color="green" flood-opacity="1"/> </filter> </defs> <rect fill="red" height="100px" width="100px" visibility="hidden" filter="url(#myfilter)"/> </svg>
/css/filter-effects/reference/green-100x100.html
<!DOCTYPE html> <div style="width: 100px; height: 100px; background-color: green"></div>