Chrome 47 Print does not read margin property with media print

651 views
Skip to first unread message

Arjun Gondaliya

unread,
Dec 20, 2015, 11:08:17 PM12/20/15
to Chromium-discuss
I have update my chrome to version 47 before couple of days, i noticed that my other print css working properly except margin properly after updating this.

my main css is like

.divClass{
    margin-left : 200px;
}
@media print {
    .divClass{
        margin-left : 0px;
        background: red;
    }
}

in this css margin-left : 0px is ignored at the time of print, what is the reason?

Gustavo Villavizar

unread,
Jan 5, 2016, 10:46:00 AM1/5/16
to Chromium-discuss
I'm having exactly the same problem. And this is an issue because I have to apply a javascript to fix this and it still doesn't work as intended.

Anton Vayvod

unread,
Jan 5, 2016, 10:53:34 AM1/5/16
to rei...@gmail.com, Chromium-discuss
You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

You can reply with a link to the found or created issue and might get triaged (and fixed) faster.

Thank you.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss


Bajram Emini

unread,
Aug 28, 2016, 1:55:52 AM8/28/16
to Chromium-discuss, rei...@gmail.com, ava...@chromium.org
I created an Issue regarding this subject, as I came across this as well (Using Chrome 52), and I didn't find any Issue created regarding this.

Further information is provided on the Issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=641311

Thanks.
Reply all
Reply to author
Forward
0 new messages