Closed
Bug 49004
Opened 26 years ago
Closed 26 years ago
CSS classes are case sensitive
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: dev+mozilla, Assigned: pierre)
References
()
Details
(Keywords: css1)
Attachments
(1 file)
|
960 bytes,
text/html
|
Details |
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.
| Reporter | ||
Comment 1•26 years ago
|
||
Comment 3•26 years ago
|
||
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
| Assignee | ||
Comment 4•26 years ago
|
||
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
| Reporter | ||
Comment 6•25 years ago
|
||
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
Comment 9•24 years ago
|
||
Mass removing self from CC list.
Comment 10•24 years ago
|
||
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.
Description
•