testing/web-platform/tests/html/semantics/forms/form-submission-target/rel-form-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 target></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 target=_blank><input type=hidden name=channelname></form>
<script>
const submitter = document.querySelector("form"),
      channelInput = document.querySelector("input");
relTester(submitter, channelInput, "<form target>");
</script>