Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/forms/form-submission-target/rel-base-target.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title><form rel> with <base target></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></form>
<script>
const submitter = document.querySelector("form"),
channelInput = document.querySelector("input");
relTester(submitter, channelInput, "<base target>");
</script>