blob: 7befdb415b65da2204f4f721c1e270d2169eb00d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!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>
|