Closed Bug 534505 Opened 15 years ago Closed 15 years ago

CSS media="print" not working properly when title set

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 97033

People

(Reporter: 16.suicide, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

The Print & Print Preview is not working correctly if the print stylesheet is defined with a title, for example:

<link href="style.css" rel="stylesheet" type="text/css" media="screen" title="Default CSS Style" />
<link href="print.css" rel="stylesheet" type="text/css" media="print" title="Print CSS" />

will not take the "print.css" into account. If title="..." is removed, printing works fine.

Reproducible: Always

Steps to Reproduce:
1. Create CSS stylesheet of the type media="print" having attribute title set.
2. Try Printing / Previewing the document
3.
Actual Results:  
The generated page doesn't take the created stylesheet into account, for example it ignores "display: none;" attributes.

Expected Results:  
Correctly generated page, using the supported print CSS file
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.