summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/forms/form-submission-target/rel-button-target.html
blob: 76fa8685905ad233f9312be3f6bf09503158a666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<title>&lt;form rel> with &lt;button formtarget></title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src=resources/reltester.js></script>
<div id=log></div>
<form action=resources/endpoint.html><input type=hidden name=channelname><button type=submit formtarget=_blank></form>
<script>
const submitter = document.querySelector("button"),
      channelInput = document.querySelector("input");
relTester(submitter, channelInput, "<button formtarget>");
</script>