blob: 9ee04e1015d3c9fc04e8fab240a15d59ae92892d [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>CSS Filters: multiple references to non-existent filter</title>
<link rel="author" title="Fredrik Söderquist" href="mailto:fs@opera.com">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterProperty">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=439970">
<meta name="assert" content="Check that applying the same filter pointing to a non-existing target from multiple elements does not crash when removed."/>
<style>
.filter {
filter: url(#foo);
}
</style>
<body onload="runTest()">
<div class="filter"></div>
<div class="filter"></div>
<button form="bar"></button>
<script>
function runTest() {
document.body.innerHTML = "PASS if no crash";
}
</script>
</body>
</html>