Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-position/position-absolute-iframe-print-002.sub.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>an abs-pos iframe in the first page but its hypothetical position is in the second page</title>
<link rel="match" href="position-absolute-iframe-print-ref.html">
<!-- Allow some text antialias pixels to be different. -->
<meta name="fuzzy" content="0-255;0-20">
<style>
body {
margin: 0;
}
iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
</style>
<div style="height:200vh;"></div>
<iframe frameborder=0 scrolling=no
src="//{{hosts[alt][www]}}:{{ports[http][0]}}{{location[path]}}/../resources/position-absolute-iframe-child-002.sub.html"></iframe>