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

VERIFIED WORKSFORME

Status

()

P3
normal
VERIFIED WORKSFORME
20 years ago
20 years ago

People

(Reporter: hangas, Assigned: hyatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
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.

Comment 1

20 years ago
phillip, if this is all platforms, mark all.  Otherwise, set to [PP]
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → WORKSFORME
(Assignee)

Comment 2

20 years ago
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.

Updated

20 years ago
OS: Mac System 8.6 → All
Hardware: Macintosh → All

Comment 3

20 years ago
paul, does this work for you?
(Reporter)

Comment 4

20 years ago
This still does not work for me.  Dave please let me know when you can look at

this on my Mac.
(Reporter)

Comment 5

20 years ago
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.
(Assignee)

Comment 6

20 years ago
You can place style sheet processing instructions in the overlay that have rules
that apply to the master document.  This will work.

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 7

20 years ago
i'm marking this verified to get it out of my hair. if it's still a problem,
please reopen it...
(Reporter)

Comment 8

20 years ago
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.