Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/background-margin-iframe-root.html - WPT Dashboard Interop Dashboard
<!doctype HTML>
<title>Backgrounds on the root element of an iframe should extend to cover the entire canvas of the iframe in the presence of margin</title>
<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
<link rel="match" href="background-margin-iframe-root-ref.html">
<meta name=fuzzy content="0-1;0-750">
<iframe srcdoc="
<!doctype HTML>
<style>
html {
background: linear-gradient(lightblue, yellow);
height: 300px;
margin: 50px;
overflow: hidden;
}
</style>"></iframe>