summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/remote-origin-iframe-print.html
blob: aba10a2a39952885caa1a04a08e19ed44b02020f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1486995">
<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/printing/resources/iframe-with-abspos.html";
  document.body.appendChild(iframe);
</script>