Closed Bug 1373 Opened 26 years ago Closed 22 years ago

Layer Printing error

Categories

(MozillaClassic Graveyard :: HTMLtoText/PostScript Trans, defect, P1)

x86
Windows 95

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.
Assignee: mccabe → brendan
Component: JavaScript → HTML to Text/PostScript Translation
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?
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → REMIND
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
Status: RESOLVED → REOPENED
Assignee: brendan → vidur
Status: REOPENED → NEW
Status: NEW → RESOLVED
Closed: 26 years ago26 years ago
REMIND is deprecated per bug 35839.
Status: RESOLVED → REOPENED
Resolution: REMIND → ---
.
Status: REOPENED → RESOLVED
Closed: 26 years ago22 years ago
Resolution: --- → WONTFIX
VERIFIED, MozillaClassic is dead.
Status: RESOLVED → VERIFIED
URL: n/a
You need to log in before you can comment on or make changes to this bug.