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