Closed Bug 156016 Opened 22 years ago Closed 22 years ago

Switching stylesheets doesn't change list-style-image

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tunah.bugzilla, Assigned: dbaron)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

If multiple alternate stylesheets are provided through the link tag and they
contain images for list bullets, for example:
ul {
	list-style-image: url(bullet.gif);
}
then the bullets from the default stylesheet are always used, even if the user
selects a different stylesheet.

Reproducible: Always
Steps to Reproduce:
1.Load a page with alternate user stylesheets specifying different image
bullets, for example http://tunah.net/bugzilla/test.html
2.Choose a different stylesheet from the view | use style menu. In my example,
choose 'green'.

Actual Results:  All CSS properties of the new stylesheet are applied except for
the bullet images. For example, the blue bullets are still visible on the green
page.

Expected Results:  The bullets should also change to those specified in the new
style sheet. For example, the green ones should be used instead of the blue when
the green style sheet is selected.
Just in case i break my server :)
->Style System
Assignee: attinasi → dbaron
Component: Layout → Style System
QA Contact: petersen → ian
Summary: Changing user stylesheet doesn't change bullet images [css] → Switching stylesheets doesn't change list-style-image
This WFM in build 2002070310 PC/Win98.
WFM with trunk 2002070604 on win2k.

reporter (Sam): can you try this with a more recent build of mozilla and see if
it still happens? you can grab the latest windows nightly from
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-win32-installer-sea.exe

thanks
I did notice another problem, though.  When I use the Basic style sheet and then
switched to Blue or Green, the bullets become cropped.  Does anybody know of
this bug, or should a new one be filed?
Yes, WFM on 2002070608. Sorry about that.
Can confirm the cropping issue though.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: