Open
Bug 314622
Opened 19 years ago
Updated 2 years ago
xml-stylesheet with media="print" is ignored in printing
Categories
(Core :: Printing: Output, defect)
Core
Printing: Output
Tracking
()
NEW
People
(Reporter: hubert+bmo, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051101 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051101 Firefox/1.6a1 The xml-stylesheet processing instruction with media="print" is ignored in printing. Look at the testcase (URL - see above). Reproducible: Always Steps to Reproduce: Example: ========== XHTML file ========== <?xml-stylesheet href="./main.css" type="text/css" media="screen, projection" title="Main style"?> <?xml-stylesheet href="./print.css" type="text/css" media="print" title="Print version"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Printing in Gecko - testcase</title> </head> <body> <p>This text should be "green" on screen but "red" on print. Try to print this page.</p> </body> </html> ========= CSS files ========= -------- main.css -------- p { color: green; } --------- print.css --------- p { color: red; } =========== Media types =========== xhtml - application/xhtml+xml css - text/css Actual Results: Text on screen is green, in printing - is black. Expected Results: Text on screen is green, in printing - is red.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Reporter | ||
Comment 3•19 years ago
|
||
Related to/duplicate of bug 210460?
Updated•15 years ago
|
Assignee: printing → nobody
QA Contact: printing
Reporter | ||
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 5•7 years ago
|
||
This issue still exists (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0).
OS: Linux → All
Hardware: x86 → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•