Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/render/reftests/filter-effects-on-pattern.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>'mix-blend-mode' for <svg:pattern></title>
<link rel="match" href="filter-effects-on-pattern-ref.html">
<div>Expected: a solid green square.</div>
<svg style="width: 200px; height: 200px; background: green;">
<defs>
<pattern id="pattern" x="0" y="0" width=".25" height=".25" style="mix-blend-mode: difference;">
<rect x="0" y="0" width="25" height="25" fill="green"/>
</pattern>
</defs>
<rect fill="url(#pattern)" width="200" height="200"/>
</svg>