servo/tests/wpt/web-platform-tests/css/css-display/display-contents-svg-switch-child.html

15 lines
543 B
HTML

<!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>