Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/background-color-body-propagation-007.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Backgrounds and Borders Test: don't propagate body background when display:contents</title>
<link rel="match" href="../reference/blank.html">
<style>
body {
background: red;
display: contents
}
</style>
<body></body>