[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / printing / media-queries-print.html
1 <html>
2 <style>
3 div {
4   background: red;
5   width: 100px;
6   height: 100px;
7 }
8 @media print {
9   div {
10     background: green;
11   }
12   span {
13     font-style: italic;
14   }
15 }
16 </style>
17 <script>
18   if (window.testRunner)
19     testRunner.setPrinting();
20 </script>
21 <body>
22   <div></div>
23   <span>When printing, you should see a green square above and this text should be italic.</span>
24 </body>
25 </html>