Closed
Bug 35878
Opened 24 years ago
Closed 24 years ago
Should capitalization in CSS classes matter?
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: leonce, Assigned: pierre)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; N; Win95; en-US; m14) BuildID: 2000032718 The directions in the linked css file are not followed. None font, size, spacing style are respected. Page look OK with Navigator 4.72 and IE 5 Reproducible: Always Steps to Reproduce: 1.go to www.skate2000.com 2.look on the left (navigation column) Actual Results: It looks really bad. The letters are rendered with the default font, spacing and size. Expected Results: The letters should be rendered according to the styles in the linked style sheet (a seperate file). .NAV { color: white; text-transform: uppercase; font-size: 9pt; font-family: arial, times; font-weight: bold; background: #3366cc; line-height: 2; vertical-align: top; } .NAV2 { color: white; text-transform: uppercase; font-size: 8pt; font-family: cursive, helvetica, arial, times; list-style-type: none; }
I can't believe I spent half an hour trying to figure out this bug! ANYWAYS in your page you use a class definitions of "nav" and in your style sheet you use a definition of NAV ARG! Its the capitolization.. nothing to do with linking or anything (well I figured that out a long time ago). I don't know why netscape and maby IE (don't know) allows cap changes? Anyone know if this should be allowed? MABY this is a bug? shrugs Should capitalization in style sheet classes matter???!!?!? Setting as new as this is an issue I think needs to be answered Changing summary
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Browser does not use linked css file → Should capitalization in CSS classes matter?
Assignee | ||
Comment 3•24 years ago
|
||
IDs and CLASSes are case-sensitive in HTML as well as in XML (see http://www.w3.org/TR/html4/struct/global.html#adef-id). This rule is not respected by Nav4x and IE. I tried to emulate it in Quirks mode and gave up because it may hurt the performance (see details in bug 35522). I'm marking this bug as duplicate but I'm keeping the issue in mind. If we get more complaints we may have to support the wrong behavior of the current browsers. Thanks to johnlar for the investigation. *** This bug has been marked as a duplicate of 35522 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•