Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/WebKit/ManualTests/printing-resize-starts-transition.html

Issue 2089373002: Resize is being triggered too early in Print code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing with a Manual Test Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698