Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>SVG foreignObject: content with visibility: visible inside a foreignObject with visibility: hidden is painted (reference)</title>
<link rel="author" title="Nikolas Zimmermann" href="mailto:nzimmermann@igalia.com">
<svg width="400" height="200">
<rect x="20" y="70" width="50" height="50" fill="green"/>
<rect x="160" y="90" width="70" height="70" fill="green"/>
<rect x="280" y="20" width="50" height="50" fill="green"/>
</svg>