blob: 7befdb415b65da2204f4f721c1e270d2169eb00d [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Display: display:contents on SVG switch child</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-svg">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<svg>
<switch>
<tspan style="display:contents;color:green">Text</tspan>
</switch>
</svg>
<script>
test(() => {}, "Loading this page should not cause a crash.");
</script>