summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/display-contents-root-background.html
blob: 6770266f513164d2bc3453e0a5c1f7522a216f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<title>CSS Test: display:contents on root element blockified with rendered background.</title>
<link rel="help" href="https://drafts.csswg.org/css-display/#the-display-properties">
<link rel="help" href="https://drafts.csswg.org/css-display/#transformations">
<link rel="match" href="display-contents-root-background-ref.html">
<style>
  :root {
    display: contents;
    background-image: url(../support/1x1-green.png);
  }
</style>
<p>Pass if the background is green.</p>