blob: 440d1ad94bfe7bea06b5cd6a614019215ff62cc4 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Content Visibility: effect on root <svg> element</title>
<link rel="author" href="mailto:rbuis@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<link rel="match" href="content-visibility-on-root-svg-ref.html">
<meta name="assert" content="content-visibility hidden has an effect on root svg element">
<div>
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" style="content-visibility:hidden">
<g>
<text x="5" y="16" transform="scale(2, 2)">Hello World!</text>
<text x="8" y="32" transform="translate(0 20) scale(1.25 1)">Hello World Again!</text>
</g>
</svg>
</div>