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/broken-reference-crash-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Filters: non-existent filters should not crash</title>
<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
<meta name="assert" content="Check that a non-existent filter with an animation does not crash."/>
<style>
@keyframes filter_keyframes {
0% { filter: blur(5px); }
100% { filter: blur(10px); }
}
#animating {
font-size: 36pt;
animation: filter_keyframes 999s linear 999s;
will-change: contents;
filter: url("#doesotexist");
}
#child {
width: 10px;
height: 10px;
transform: translateX(10px);
}
#force_document_scroll {
width: 2000px;
height: 2000px;
}
</style>
</head>
<body>
<div id="animating">
<div id="child">PASS</div>
</div>
<div id="force_document_scroll"></div>
</body>
</html>