Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/filter-effects/crashtests/multiple-references-id-crash-001.html - WPT Dashboard Interop Dashboard
<!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">
<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>