Closed Bug 71529 Opened 24 years ago Closed 23 years ago

Style does not effect the text in TD if it was set as a TR attribute

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 46480
mozilla1.0

People

(Reporter: vladimire, Assigned: pierre)

Details

Attachments

(2 files)

In a table if you want to have a style affecting the whole row, you have to 
specify it for every cell. Setting style attribute of TR doesnt effect the cels.
Ex.
<TABLE>
<TR style="red">
<TD>Text</TD>
</TR>
</TABLE>

Text is not red. In IE it is red.
Attached file testcase
OS: Windows 98 → All
Table layout problem, over to karnaze.
Assignee: jst → karnaze
Component: DOM Style → HTMLTables
Reassigning to Pierre and marking m1.0.
Assignee: karnaze → pierre
Target Milestone: --- → mozilla1.0
The second test case I added shows that the bug does not occur if the DOCTYPE
is declared....
The behavior is correct in Standard mode, wrong in Quirks mode. Tables are very
bad in Quirks mode. I think that the inheritance of the color is explicitly cut
off, by design, to be Nav. compatable.

I think that tis is WONTFIX. There are other bug arguing the merits of the table
quirks code, since IE and Nav differ on those quirks and IE is more promiment
nowadays.
Not my area. QA -> amar.
QA Contact: ian → amar

*** This bug has been marked as a duplicate of 46480 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Hardware: PC → All
Resolution: --- → DUPLICATE
 The bug was fixed.. The text is shown in red color.. Marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: