Closed
Bug 1373
Opened 26 years ago
Closed 22 years ago
Layer Printing error
Categories
(MozillaClassic Graveyard :: HTMLtoText/PostScript Trans, defect, P1)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: rw263, Assigned: vidur)
Details
If cache is turned on, the document.write() doesn't print. This works great on
the screen, but doesn't work on the printer :(
<script language=JavaScript><!-- // hide script
// this should be set to a VALID image string.
var imageString = '<img src="http://www.here.com/there.gif">';
var imageHeight = 472; //the height of the image
function changeLayer() {
var height=document.height, i, numImages;
numImages = Math.ceil(height/imageHeight); //get one m
for (i=0; i<numImages; i++)
document.watermark.document.write(imageString + "\n");
}
// finish hiding script --></script>
the HTML has: <body onLoad="changeLayer()">
and it also has: <layer id=watermark>
This works GREAT on the screen, however when you print this (with cache
turned on). Of course when cache is set to 0kb, no error occurs however the the
write() isn't carried out either.
Updated•26 years ago
|
Assignee: mccabe → brendan
Component: JavaScript → HTML to Text/PostScript Translation
Comment 1•26 years ago
|
||
Thanks for the excellent bug report.
I'm going to pass it on to the libMocha component. I can't promise it'll be
fixed, because it looks like it's on the mozilla 'classic' codebase - current
development efforts are being focused on the nglayout/xpfe codebase.
Brendan - you're listed as non-owner of this module. Any suggestions?
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → REMIND
Comment 2•26 years ago
|
||
This bug is against the old layout engine, really. It's unlikely to recur in
the brave new world. I'm marking it REMIND and reassigning it to vidur, who may
just want to close it.
/be
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Updated•26 years ago
|
Assignee: brendan → vidur
Status: REOPENED → NEW
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Comment 3•22 years ago
|
||
REMIND is deprecated per bug 35839.
Status: RESOLVED → REOPENED
Resolution: REMIND → ---
Comment 4•22 years ago
|
||
.
Status: REOPENED → RESOLVED
Closed: 26 years ago → 22 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•