Closed Bug 10452 Opened 25 years ago Closed 25 years ago

Style sheets (css files) have no affect in XUL Overlays

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: hangas, Assigned: hyatt)

Details

XUL Overlays should support style sheets, but when adding a style sheet to
tasksOverlay.xul it had no affect.  Using navigator.css in tasksOverlay.xul and
using tasksOverlay.xul in addressbook.xul, the addressbook.xul did not gain the
styles from navigator.xul.
phillip, if this is all platforms, mark all.  Otherwise, set to [PP]
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
I tried two test cases.  Both worked for me.  I'm marking this bug as
WORKSFORME.  Paul, we should look at what you're doing at some point and
make sure the syntax is right.
OS: Mac System 8.6 → All
Hardware: Macintosh → All
paul, does this work for you?
This still does not work for me.  Dave please let me know when you can look at

this on my Mac.
OK there is no bug here.  I thought css files would be included into the window
just like the JavaScript files.  It turns out that the css files are applied only
to the overlay so my css logic was broken.
You can place style sheet processing instructions in the overlay that have rules
that apply to the master document.  This will work.
Status: RESOLVED → VERIFIED
i'm marking this verified to get it out of my hair. if it's still a problem,
please reopen it...
Dave, did you fix the real bug behind this one?  When we last spoke of this we

discuvered that the bug here was that the css files were not being correctly

applied to the master xul file.  Instead we found that the overlay was only

affected by css files that were included directly into the overlay.
You need to log in before you can comment on or make changes to this bug.