summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/replaced-elements/embedded-content/cross-domain-iframe-in-multicol.sub.html
blob: e39e2bc7646ae17c6851e681b2ce312c567d0362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html class="reftest-wait">
<title>Rendering of cross-domain iframe element in multicol</title>
<link rel="match" href="cross-domain-iframe-in-multicol.sub-ref.html">
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules">
<meta name="assert" content="Checks that cross-domain iframe in multicol is correctly rendered">
<div style="columns: 2; height: 300px">
  <div style="height: 100px"></div>
  <iframe id=myframe src="http://{{domains[www1]}}:{{ports[http][0]}}/images/green.png"></iframe>
  <div style="height: 100px"></div>
</div>
<script>
  myframe.onload = () => {
    requestAnimationFrame(() => {
      requestAnimationFrame(() => {
        document.documentElement.classList.remove('reftest-wait');
      });
    });
  }
</script>
</html>