testing/web-platform/tests/html/semantics/forms/form-submission-target/rel-input-target.html
author Anne van Kesteren <annevk@annevk.nl>
Tue, 05 Mar 2019 12:17:07 +0000
changeset 464565 8324cb961aaf665330e8e1a13d95836c5edd5ffa
parent 464231 16b6e709d409e86ea85e951e25ac4752fd4c9aba
permissions -rw-r--r--
Bug 1527661 [wpt PR 15356] - HTML: <form rel>, a=testonly Automatic update from web-platform-tests HTML: <form rel> (#15356) For https://github.com/whatwg/html/pull/4332. -- wpt-commits: b44dacf7a939fd93f3afb0c46f8f89d71ea20409 wpt-pr: 15356

<!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>