https://github.com/web-platform-tests/wpt
Raw File
Tip revision: edb6add725f4a43f656314d2975d96c87e67d3f8 authored by Domenic Denicola on 21 February 2018, 20:38:09 UTC
Further fixes per review and my own discoveries
Tip revision: edb6add
display-contents-svg-anchor-child.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>
back to top