Closed Bug 191681 Opened 22 years ago Closed 21 years ago

a stylesheet of help.xul is loaded twice

Categories

(SeaMonkey :: Help Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: brant, Assigned: oeschger)

References

()

Details

(Keywords: perf, polish)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030131
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030131

The style sheet chrome://communicator/skin is loaded twice.

Reproducible: Always

Steps to Reproduce:
1. Open help.
Actual Results:  
chrome://communicator/skin is loaded twice.

Expected Results:  
chrome://communicator/skin should only load once.

If you look at help.xul, you will see the following lines:
<?xml-stylesheet href="chrome://communicator/skin/help.css" type="text/css"?>
<?xml-stylesheet href="chrome://navigator/skin" type="text/css"?>

If you then open those two URLs, the following line appears in both:
@import url("chrome://communicator/skin/");

I propose that the importation from help.css not be done.
I removed the line from both files and added myself to contributor lines.
Comment on attachment 113360 [details] [diff] [review]
diffs for XUL skins

requesting review
Attachment #113360 - Flags: review?(oeschger)
adding applicable keywords and cc'ing Joe Hewitt since he was original author of
those files
Keywords: perf, polish
could that be the reason for bug 184890 hangs when help window opened and
minimized twice ?
I don't think so, but then again I am not having that problem.
Comment on attachment 113360 [details] [diff] [review]
diffs for XUL skins

r=oeschger
Attachment #113360 - Flags: review?(oeschger) → review+
Attachment #113360 - Flags: superreview?(alecf)
Comment on attachment 113360 [details] [diff] [review]
diffs for XUL skins

did you get rid of the newline at the end of the file? Make sure its still
there!
sr=alecf
Attachment #113360 - Flags: superreview?(alecf) → superreview+
Attachment #113360 - Flags: superreview+ → superreview?(alecf)
Attachment #113360 - Flags: superreview?(alecf) → superreview+
I'll see if I can get this in soon. Thanks, Brant!
Status: NEW → ASSIGNED
FIXED
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
VERIFIED.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: