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/filter-external-002-test.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Filter Test: load external SVG Filter (svg file)</title>
<link rel="author" title="Akihiro Oyamada" href="mailto:admin@yomotsu.net">
<link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
<link rel="match" href="filter-external-001-ref.html">
<meta name="flags" content="svg">
<meta name="assert" content="the test passes if you see green box.">
<style type="text/css">
div {
width: 200px;
height: 200px;
background: red;
filter: url( support/filter-external-002-filter.svg#filter );
}
</style>
</head>
<body>
<p>You should see a green rectangle.</p>
<div></div>
</body>
</html>