New issue
Advanced search Search tips

Issue 677645 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 66026
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Printing selection ignores @media print

Reported by k.matjan...@gmail.com, Dec 30 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Example URL:
https://css-tricks.com/

Steps to reproduce the problem:
1. Crtl+A to select whole page
2. Crtl+P to print page
3. Select "Only Selection" in preferences

What is the expected behavior?
It should be printed in the way that was defined in CSS by `@media print` rule. Works fine when printing whole page.

What went wrong?
I guess that `@media print` rules are ignored when rendering printout only for selection. 

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 24.0 r0
 
Good-CSS-Tricks-whole-page.pdf
167 KB Download
Bad-CSS-Tricks-selection.pdf
213 KB Download

Comment 1 by junov@chromium.org, Jan 2 2017

Components: -Blink Internals>Printing
Labels: Needs-Triage-M55
Labels: M-57 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Windows-10, Ubuntu 14.04 and Mac OS 10.12 using chrome latest stable M55-55.0.2883.87 by following steps mentioned in the original comment. Observed rendering issues in print preview.

This is a non-regression issue seen on earlier versions of chrome M35-35.0.1849.0 as well, Hence marking it as untriaged.

Thanks!
Mergedinto: 66026
Status: Duplicate (was: Untriaged)

Sign in to add a comment