https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1ae79efc01b050c482d7875c652c6577d735f324 authored by Boris Zbarsky on 28 March 2018, 19:09:05 UTC
part 2. Add a bunch of web platform tests for load and error events on stylesheet links.
Tip revision: 1ae79ef
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