summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/forms/the-input-element/input-form-detach-style-crash.html
blob: 547256376362ee03df9f23387b64ea83c5354fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1800543">
<script>
document.addEventListener('DOMContentLoaded', () => {
  b.setCustomValidity("x")
  a.reportValidity()
  c.appendChild(a)
  document.adoptNode(d)
  document.documentElement.style.display = 'none'
})
</script>
<form id="a">
<textarea id="b">a</textarea>
</form>
<dl id="d">
<canvas id="c"></canvas>
</dl>
<input form="a">