| <!doctype HTML> | |
| <html> | |
| <meta charset="utf8"> | |
| <title>Content Visibility: hidden svg (reference)</title> | |
| <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> | |
| <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> | |
| <style> | |
| div { | |
| background: blue; | |
| } | |
| .mysvg { | |
| display: inline-block; | |
| width: 400px; | |
| height: 300px; | |
| background: lightblue; | |
| border: 1px solid black; | |
| } | |
| </style> | |
| <div>lorem ipsum</div> | |
| <div class="mysvg"></div> | |
| <div>consectetur adipiscing elit</div> |