summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-margin-iframe-root.html
blob: 9c0cc829ff01036ad9bbb5491940288a1fc8ec3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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="help" href="https://www.w3.org/TR/css-backgrounds-3/#root-background">
<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>