Closed Bug 164617 Opened 22 years ago Closed 18 years ago

Scrollbar shouldn't be affected by userContent.css

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kazhik, Assigned: dbaron)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Scrollbar of navigator window is affected by background-color or border-width in userContent.css. But it shouldn't. * { background-color : pink !important; border-width: 10px; }
hmmm... the scrollbar should be affected only by userChrome.css, right ?
Attached image screen shot
This is what i saw when i added style ( as mentioned in comment 0) to userContent.css -- in win2000 build 2002-08-26 -04trunk It does effect the scrollbar, as you can see in the screen shot.
Priority: -- → P4
Ugh. So it seems that bug 21890 was never fully fixed.
I seem to recall this was fixed before user.css was split in two, which would explain why userContent.css applies to them now.
for steps to reproduce see comment 0. adding keyword 'testcase'
Keywords: testcase
Blocks: 105928
Firefox isn't obeying linked CSS stylesheets that alter the appeareance of scrollbars, e.g. BODY { BACKGROUND-COLOR: #000000; SCROLLBAR-ARROW-COLOR: #eeffee; SCROLLBAR-TRACK-COLOR: #223322; SCROLLBAR-HIGHLIGHT-COLOR: #445544; SCROLLBAR-3DLIGHT-COLOR: #667766; SCROLLBAR-BASE-COLOR: #334433; SCROLLBAR-SHADOW-COLOR: #223322; SCROLLBAR-DARKSHADOW-COLOR: #112211; } Furthermore, Firefox themes do affect them. The solution for this is that Firefox should be applying linked CSS stylesheets to scrollbar colors.
It also spits errors on the Javascript console, which looked a bit odd at first, but actually helps developers. It would be good, easier, better for developers, if the source of the error was displayed on the script like: JS: fubar() is not defined Line: 33 CSS: weirdStyle is not defined Line: 45
Depends on: 286895
Fixed by checkin for bug 286895. Note that comment 6 and comment 7 have absolutely nothing to do with this bug...
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: