Closed Bug 406520 Opened 17 years ago Closed 17 years ago

userchrome setting will not be printed correctly

Categories

(Calendar :: Printing, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lh_wen, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8pre) Gecko/20071023 Sunbird/0.7

I'm using my own "userchrome.css". See an example entry below.
The event is shown corectly, but during printing & printpreview my own colors are removed and only the "calendar colors" are used for printing

.calendar-item[item-category="blue"] {
   border: solid black 4px !important;
   background: blue !important;
   color:white !important;
}

Reproducible: Always

Steps to Reproduce:
1. create a userchrome for a special category
2. create a event using this category
3. print the calendar
Actual Results:  
only the "calendar colors" are used during printpreview  print

Expected Results:  
Printoutput should be identical to output at screen
Printing uses different style rules, since a html iframe is used to display and print the information.

Please see [1] and [2] for the style rules used while printing.










[1] http://lxr.mozilla.org/mozilla1.8/source/calendar/import-export/calWeekPrinter.js#73
[2] http://lxr.mozilla.org/mozilla1.8/source/calendar/import-export/calMonthGridPrinter.js#72

Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.