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/filtered-inline-applies-to-float.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="filtered-inline-applies-to-float-ref.html" />
<meta name="assert" content="A filter on an inline element applies to floats." />
<style>
span { filter: blur(2px); }
#float {
float: left;
width: 100px;
height: 100px;
background: green;
}
</style>
<p>There should be a blurred green square.</p>
<div>
<span><div id="float"></div></span>
</div>