Closed
Bug 445912
Opened 17 years ago
Closed 16 years ago
Iframe background is gray when it should be white on print preview
Categories
(Core :: Print Preview, defect)
Core
Print Preview
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
(Keywords: regression, testcase)
Attachments
(2 files)
This got noticed when looking at bug 444448.
When looking at that testcase in print preview, the iframe background is gray (see screenshot).
It should just be white.
Comment 1•17 years ago
|
||
The iframe background looks white on Linux. See attachment 328760 [details] for an example.
But martijn points out in IRC that the print-preview window background (outside the printed page) is also white on Linux, whereas it's gray on Windows.
So maybe the iframe is just getting its background from the print-preview window's background color.
Reporter | ||
Comment 2•17 years ago
|
||
This regressed 2006-04-10 and 2006-04-11:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-04-10+04&maxdate=2006-04-11+07&cvsroot=%2Fcvsroot
I think a regression from bug 332927.
You need to have the "Print Background (colors & images)" option checked in the Page Setup dialog, to be able to see this bug. (this is probably the reason why you couldn't reproduce this, Daniel)
Notice also that the background of the main page turns to gray when the option is checked.
Blocks: 332927
Reporter | ||
Comment 3•17 years ago
|
||
Things don't work correctly in Firefox 2, either.
On print preview, the background is white on print preview, in that case.
Comment 4•17 years ago
|
||
(In reply to comment #2)
> You need to have the "Print Background (colors & images)" option checked in the
> Page Setup dialog, to be able to see this bug. (this is probably the reason why
> you couldn't reproduce this, Daniel)
>
> Notice also that the background of the main page turns to gray when the option
> is checked.
Yup. Confirmed on linux -- if I check "Print Background (colors & images)" for my default printer* & print something, then print-previewing the testcase gives me a gray background behind the page, and a gray background in the iframe (with a hint of green in the border)
*I have to make this setting on my _default_ printer in order for it to stay set, due to bug 446041.
OS: Windows XP → All
Hardware: PC → All
I am having the same problem with printing SVGs. For example, if you turn on 'Print Background' in Page Setup and then visit this page (which uses embed):
http://voracity.org/other/svg-print-test.html
And then go to print preview, you'll see a grey background on the svg, instead of white. Using a colour dropper, the grey is indeed the same shade as the Print Preview background.
Who is the right person to CC on this? I imagine CC'ing the right person would be worthwhile because it seems like it only needs a simple fix.
The svg side of the problem has already been raised in bug 407305. I'm guessing the two bugs are due to the same underlying cause and are therefore duplicates.
I've also created more testcases:
http://voracity.org/other/gray-print-test2.xhtml
Screenshot: http://voracity.org/other/gray-print-test2-screenshot.png
The problem occurs with embeds, objects and iframes, but not all the time. (E.g. object png works right, but iframe png does not.)
Comment 7•16 years ago
|
||
This should be fixed by bug 504269 now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•