Index: third_party/WebKit/ManualTests/printing-resize-starts-transition.html |
diff --git a/third_party/WebKit/ManualTests/printing-resize-starts-transition.html b/third_party/WebKit/ManualTests/printing-resize-starts-transition.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fc4f2e2dd09f58683358bc841deef716a3e64c07 |
--- /dev/null |
+++ b/third_party/WebKit/ManualTests/printing-resize-starts-transition.html |
@@ -0,0 +1,30 @@ |
+<!-- 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 for now. See progress here: crbug.com/634565 |
+ --> |
+<!DOCTYPE html> |
+ |
+<style> |
+#target { |
+ padding-top: 1000px; |
+} |
+ |
+@media screen and (max-width: 600px) { |
+ #target { |
+ padding: 0; |
+ transition: 10s all; |
+ } |
+} |
+ |
+@media print { |
+ #target { |
+ padding: 0 !important; |
+ } |
+} |
+</style> |
+ |
+<div id="target"> |
+To run this test:</br> |
+1. Open this file in Chrome</br> |
+2. Note that there is a large padding (1000px) at the top of the text</br> |
+3. Open in Print Preview</br> |
+4. The test passes if there is no padding at the top.</br> |
+</div> |