OLD | NEW |
---|---|
(Empty) | |
1 <!-- This should be a Browser test, unable to create one to land the fix needed here: https://codereview.chromium.org/2089373002 hence landing as a ManualTest f or now. See progress here: crbug.com/634565 | |
2 --> | |
3 <!DOCTYPE html> | |
4 | |
5 <style> | |
6 #target { | |
7 padding-top: 1000px; | |
8 } | |
9 | |
10 @media screen and (max-width: 600px) { | |
11 #target { | |
12 padding: 0; | |
13 transition: 10s all; | |
14 } | |
15 } | |
16 | |
17 @media print { | |
18 #target { | |
19 padding: 0 !important; | |
20 } | |
21 } | |
22 </style> | |
23 | |
24 <div id="target"> | |
25 To run this test:</br> | |
26 1. Open this file in Chrome</br> | |
27 2. Note that there is a large padding (1000px) at the top of the text</br> | |
28 3. Open in Print Preview</br> | |
29 4. The test passes if there is no padding at the top.</br> | |
30 </div> | |
OLD | NEW |