summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-color-body-propagation-005.html
blob: 05c5421977e74259189bab32b85e35c94daadddb (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<title>CSS Backgrounds and Borders Test: don't propagate body background when html is display:none</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
<link rel="match" href="../reference/blank.html">
<style>
  html { display: none; }
  body { background: red; }
</style>
<body></body>