Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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