Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I noticed that CSS print media rules seem to be ignored (most likely because of
the
above js error). "@media print { ... }" does not take effect as demonstrated
below.
This test fails for me on IE 6.0.2900.XXXXX :
http://ie7-js.googlecode.com/svn/test/print-test.html
Original comment by jcr...@gmail.com
on 20 Jul 2008 at 6:19
This is strange, the print preview styles with "@media print" is working fine
in my
application. I only have an javascript error after the preview...
The only difference i see between your code and mine is that I do not have the
@media screen { } tag.
I tested your link and the print preview does not take the style work with IE
7.0.5730.11
Original comment by royguill...@gmail.com
on 22 Jul 2008 at 11:33
Yes, I agree that the error only shows up when the "Print Preview" is initiated.
However, the test case "@media print" styles are not applied corectly for
either of
us.
>> ... working fine in my application
Can you provide us all with a working example where the print styles are
applied
correctly?
Thanks,
-Jonathan
Original comment by jcr...@gmail.com
on 22 Jul 2008 at 3:24
I also get the javascript error when using the IE8.js script in IE6, and then
choosing either Print Preview or Print.
My print styles, which are being applied through a <link> tag, ARE getting
applied:
<link id="ctl00_printCss" rel="stylesheet" type="text/css" media="print"
href="includes/css/print.css" />
The javascript error I'm getting is (as reported by Companion.JS, along with
call stack)
Permission denied (line 1089)
* line 1125
* line 1132
* line 1032
* line 215
* line 514
It looks as though IE7 is throwing an error as well.
Original comment by leombr...@gmail.com
on 9 Sep 2009 at 2:49
This is a duplicate of issue #54.
Original comment by dean.edw...@gmail.com
on 12 Feb 2010 at 2:02
Original issue reported on code.google.com by
royguill...@gmail.com
on 15 Jul 2008 at 8:10