Closed Bug 92083 Opened 23 years ago Closed 23 years ago

ignores class for tags

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: zappa, Assigned: pierre)

References

Details

completely ignores class inside tag
look for example:
<html>
<head>
<style>
td {font-size: small;};
.Inside {background: red};
</style>
</head>
<body bgcolor=ffffff text=000000 link=0000ff vlink=0000ff>
<table bgcolor="#ffeedd" border=0 width="100%" cellpadding=1 cellspacing=2>
<tr>
<td>Some text in left cell</td><td class=Inside>Some text in right cell
</td>
</tr>
</table>
<p CLASS=Inside>Some text out of table</p>
<p>Some plain paragraph</p>
<p style="background: red">Some paragraph with explicit style</p>
</body>
</html>

broken since at least 20010709 0.9.2 build where i first see it
now using 2001072321 (trunk) still broken
Invalid.  Try running this through the CSS validator at
http://jigsaw.w3.org/css-validator/

The ";" after the "td {font-size: small;}" and the one after "Inside
{background: red}" should not be there.  It gets parsed as part of the next
selector, and "; .Inside" is not a valid selector...
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Yes!
I must bring my apologizes since I was realy wrong
I t just happened that Mozilla is more restrictive regarding syntax then MSIE :-)
*** Bug 94379 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.