<!doctype html>
<meta charset="utf-8">
<title>CSS Backgrounds and Borders Test: Do not propagate body background when html root is contained</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
<link rel="match" href="background-color-no-body-propagation-ref.html">
<style>
  html { contain: paint; }
  body { background: green; }
</style>
<body>This text should have a green background.</body>
