Closed Bug 338520 Opened 20 years ago Closed 20 years ago

print preview shows unexpected and unwanted SOURCE-CODE

Categories

(Core :: Print Preview, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 336919

People

(Reporter: miraculi, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 The print preview (and of course the print-out) shows unexpected and unwanted SOURCE-CODE, depending on USER:Javascript-Setting and WEBSITES:using <script>- /<noscript>-areas. Unfortunately it is not like „works with js - doesn’t work without“. See details below... ! Other Browsers don't behave that way. ! Firefox older releases didn't. The given url is only one of many others, here are some more: http://www.jfriedrich.de/themen.html http://www.cicatrix.de Reproducible: Always Steps to Reproduce: 1. go to url 2. select print preview 3. see the unwanted code Actual Results: Additional to wanted elements there is unexpected and unwanted HTML-Code in Preview / Print-out. The Element-Flow is not like it should be. Expected Results: No HTML-Code and correkt element-flow, like in Opera- or IE-Print-Preview or older 1.5.xx Firefox-Releases. They all work fine. The relation to javascript is like that: 1. The wrongly shown code is included in a <noscript> Area. 2. If I leave out this Area a. firefox shows everything correctly ONLY (!!) if javascript is enabled b. This would be very bad style in Webdesign ... 3. If I change nothing (keep the <noscript>-Area) a. firefox shows everything correctly ONLY (!!) if javascript is disabled b. This is not very „foxy“ For me this is a MAJOR-problem because many people print a lot (I know, developpers love more the screens ;-) - and PRINT is integrated in a major Menu. I hope my english and my description is good and clear enough to understand. Hello to all from Germany J. Friedrich
I see this too on SeaMonkey 1.0.1 on Linux. My guess is that the problem is this: <link rel="stylesheet" href="css_print.css" media="print" type="text/css"> It looks like there's a print-specific style sheet, and that sheet probably has a bug. That's just my guess.
(In reply to comment #1) Hi Mr. or Mrs. "just my guess" Thank you for reading my bug-report > I see this too on SeaMonkey 1.0.1 on Linux. My guess is that the problem is > this: > <link rel="stylesheet" href="css_print.css" media="print" type="text/css"> > It looks like there's a print-specific style sheet, and that sheet probably > has a bug. That's just my guess. Your guess? Propably? It looks like? Isn't that maybe a little bit to precise ;-) ?? At http://www.flotteseite.de/_moz/firefox_bug_338520_en.html you find a css-free site, made just to demonstrate the bug ... JF
Assignee: nobody → printing
Component: General → Print Preview
Product: Firefox → Core
QA Contact: general
Version: unspecified → Trunk
*** This bug has been marked as a duplicate of 336919 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.