Closed Bug 49004 Opened 26 years ago Closed 26 years ago

CSS classes are case sensitive

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: dev+mozilla, Assigned: pierre)

References

()

Details

(Keywords: css1)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20000811 BuildID: 2000081105 There is a table with a table. The outer table has a colour (black) for TD (defined via CSS). The inner table has two cells, one colored via CSS, the other colored via the bgcolor attribute. Both are light brown. Reproducible: Always Steps to Reproduce: 1. visit the URL. Works fine with NN4.74 and MSIE 5.01. Actual Results: The cell colored with the bgcolor attribute is ok. The cell colored via CSS ignores its own bgcolor and just uses the (CSS) background color from the outer table. Expected Results: Both inner table cells should habe the same background colors.
Attached file testcase for this bug —
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updating summary, adding css1 keyword.
Keywords: css1
Summary: css table bgcolor does not work for table within a table → CSS td bgcolor does not work for nested table
Closed as Invalid. The class is declared as "BGColorMedium" (upper-case C) but the TD is declared as <td class="BGcolorMedium"> (lower-case C). Classes and IDs are supposed to be case-sensitive: http://www.w3.org/TR/html4/struct/global.html#adef-id I wanted to implement a quirk for that but the idea was dropped. See bug 35522 for more info.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Verified invalid
Status: RESOLVED → VERIFIED
Updating summary from "CSS td bgcolor does not work for nested table" to "CSS classes are case sensitive".
Summary: CSS td bgcolor does not work for nested table → CSS classes are case sensitive
*** Bug 85783 has been marked as a duplicate of this bug. ***
*** Bug 94117 has been marked as a duplicate of this bug. ***
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: