Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-page/remote-origin-iframe-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="remote-origin-iframe-print-ref.html">
<style>
iframe {
display: block;
width: 100px;
height: 100px;
border: none;
}
</style>
<script src="/common/get-host-info.sub.js"></script>
<p>The word "PASS" should be seen below.</p>
<script>
const iframe = document.createElement("iframe");
iframe.src = get_host_info().REMOTE_ORIGIN + "/css/css-page/resources/iframe-with-abspos.html";
document.body.appendChild(iframe);
</script>