blob: b4687923e1c2af44227337ccf49a4db153c3cfc8 [file] [log] [blame]
<html>
<style>
div {
background: red;
width: 100px;
height: 100px;
}
@media print {
div {
background: green;
}
span {
font-style: italic;
}
}
</style>
<script>
if (window.testRunner)
testRunner.setPrinting();
</script>
<body>
<div></div>
<span>When printing, you should see a green square above and this text should be italic.</span>
</body>
</html>