Closed Bug 63213 Opened 24 years ago Closed 23 years ago

Alternate style sheets not working anymore [AltSS]

Categories

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

defect

Tracking

()

VERIFIED FIXED
Future

People

(Reporter: karl, Assigned: pierre)

References

(Blocks 1 open bug)

Details

(Keywords: regression, testcase, xhtml, Whiteboard: WORKSFORME)

Attachments

(1 file)

989 bytes, application/octet-stream
Details
Alternate style sheet support isn't working anymore.

Steps to reproduce:

1 Go to http://home.no.net/huftis/mozilla/
2 Go to View | Use Stylesheet
3 You should see several style sheets listed, namely 'Mozilla', 'Huftis', og
'Fargerik og fin'.
4 Only the default (preferred) style sheet is listed

This worked (perfectly) in M17.
Verified I am not seeing this either.

Platform: PC
OS: Windows 98
Mozilla Build: 2000121804 M18 Trunk Build.
Keywords: regression, xhtml
OS: other → All
Hardware: PC → All
I also do not see the alternate stylesheets that should be there with either the
2000-12-05-08 nightly or the 2000-12-18 CVS build on linux.
This works on other pages, so it must be something more complex than just the
alt stylesheets being horked. Testcase?

Moving to low priority P4; current assignee is not likely to work on this in the
near future. Taking QA. Nominating for 1.0; this is quite an important feature.
Keywords: mozilla1.0, qawanted
Priority: -- → P4
QA Contact: chrisd → ian
Target Milestone: --- → Future
I have the same problem with
  http://www.physik.fu-berlin.de/~fsi/index_en.html
It seems to load the CSS (I shows several times the progress bar), but in the
menu there is only 'none' and the first entry/default entry (with title).
Adding testcase.

Mozilla seems to refuse any further stylesheets if there are two (or more) 
stylesheet links with the same title (which is perfectly legal, BTW).
Attached file Simple testcase.
(marking alternate style sheet bugs for easy tracking...)
Summary: Alternate style sheets not working anymore → Alternate style sheets not working anymore [ASS]
Summary: Alternate style sheets not working anymore [ASS] → Alternate style sheets not working anymore [AltSS]
I unzipped the testcase and put it here:
   http://hixie.ch/tests/adhoc/css/cascade/alternates/001.html
...and it works for me.

Karl?
Keywords: qawanted
Whiteboard: WORKSFORME
Keywords: testcase
I reported a bug about this problem not knowing about this one.  

It was bug 79785 and jst said that a fix was checked in for it.  I'm guessing 
if that bug is fixed, then this one can be marked fixed.

jake
I'm not sure if I should create new bug for this but...
Alternative style sheets seem to work for single page, but I think browser
should default to the same style sheet name - if available - as used with
previous page when user goes through link. For example if I have main page where
user selects "Simplified" instead of "Default" style sheet. When (s)he goes
through link to next page in the same site style sheet is changed to "Default"
and user has to select "Simplified" again from menu. (build: 2001053008)
> Alternative style sheets seem to work for single page, but
> I think browser should default to the same style sheet name
> - if available - as used with
> previous page when user goes through link.

Yes, I heartily agree. Please file a new bug for this.

Created bug 83663 for alternative style sheet handling during page changes.
This bug forked into bug 79785 (fixed) and bug 83663 (part of bug 6782).
Marked fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
marking this bug verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: