1
0
Fork 0
firefox/testing/web-platform/tests/css/css-display/display-contents-svg-anchor-child.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
632 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Display: display:contents on SVG anchor 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>
<a>
<tspan style="display:contents;color:green">Text</tspan>
</a>
<text>
<a>
<tspan style="display:contents;color:green">Text</tspan>
</a>
</text>
</svg>
<script>
test(() => {}, "Loading this page should not cause a crash.");
</script>