Closed Bug 55668 Opened 25 years ago Closed 25 years ago

CLASS attribute value not case-insensitive

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: bzbarsky, Assigned: rickg)

Details

Build ID: 2000100706 and previous; M18 I have the following style definition: .toolbar { color: #006; font-size: 12pt; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none } followed by the following HTML: <A HREF="/rsiauth/cgi-bin/home.pl" CLASS="TOOLBAR">Home</A> Expected Result: The string "Home" appears with no underline and in a different font from the rest of the page. Actual Result: "Home" looks just like all the other links Caveat: If I change the anchor to CLASS="toolbar" then everything works. I was under the impression that the CLASS attribute is case-insensitive.
Hmm. After some more rooting around the specs, it seems that it's case-sensitive after all. I got confused by Netscape 4.x treating it in a case-insensitive manner.....
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Verified invalid. Details on the CLASS attribute can be found at http://www.w3.org/TR/REC-html40/struct/global.html.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.