Print height calculation wrong with max-width media query
Reported by
andre.er...@gmail.com,
Sep 13 2017
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Steps to reproduce the problem: 1. Open print dialogue What is the expected behavior? That all content on the page is printed without the content being cut off. What went wrong? The content is not being printed in full. Did this work before? No Does this work in other browsers? Yes Chrome version: 61.0.3163.79 Channel: stable OS Version: 10.0 Flash Version: Fixed if viewport is resized below max-width media query before opening print dialogue.
,
Sep 13 2017
Could you please attach a test case where this issue occurs?
,
Sep 14 2017
Yeah, here you go. Don't know why it wasn't included when I first submitted the issue.
,
Sep 14 2017
Thank you for providing more feedback. Adding requester "shend@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 14 2017
Can confirm on 63.0.3213.3 (Official Build) dev (64-bit). Not sure if this is a CSS or printing issue. The media query seems to be applied correctly in print preview, but it only shows the first page. Redirecting to Printing; hopefully someone more knowledgeable could redirect to the correct component. Please add back the Blink>CSS component if it's a CSS issue. Thanks!
,
Sep 15 2017
? => go to demos.scheurle.info/browsers/print-resources/ => see Test 1 Doesn't seem the media query is applied anywhere, it just takes the values from screen. Google Chrome 61.0.3163.91 (Official Build) (64-Bit) on macOS
,
Sep 20 2017
This one is weird. I tried with 63.0.3213.3 in two separate profiles and one can and the other can't. It turns out the difference was the window size. !@?!$
,
Sep 21 2017
Right. I missed the note about the viewport. Punting this over to Blink>Layout.
,
Sep 23 2017
Any idea what's going on here Morten?
,
Sep 23 2017
The test case looks like a simplified version of the one in bug 732834 . |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by ligim...@chromium.org
, Sep 13 2017