<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.setPrinting();
</script>
<style>
body {
background-color: red;
}
</style>
<html>
<body>
This test succeed if root background is correctly ignored in printing mode.
</body>
</html>