summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/display-contents-svg-anchor-child.html
blob: d0119d7fff3d2dcb833136eacd6654394f9f737f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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>