summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html')
-rw-r--r--testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html b/testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html
new file mode 100644
index 0000000000..73b3878386
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/remote-origin-iframe-print.html
@@ -0,0 +1,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/css-page/resources/iframe-with-abspos.html";
+ document.body.appendChild(iframe);
+</script>