Closed Bug 1024491 Opened 12 years ago Closed 12 years ago

Replacing images when printing

Categories

(Core :: General, defect)

1.0 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 848695

People

(Reporter: od, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Steps to reproduce: @media screen { #logo { background: url(logo.png) no-repeat 5px -5px; } } @media print { #logo:after { content: url(print-logo.png); } } Actual results: this code does not work. The image 'print-logo.png' is not displayed in print preview. Only after the second call of print preview the image 'print-logo.png' is displayed. Expected results: I want to see the image 'print-logo.png' at the first call of print preview.
Printing doesn't wait on network activity, since users would be pretty pissed off if it did.... So this will only work if the print version is already in the image cache.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Thank you for quick response.
You need to log in before you can comment on or make changes to this bug.