Summary:
(Quirks) Color not initializing to 'inherit' within tables
Overview:
In Quirks mode, the 'color' property is not inherited into <tbody>,
<tr>, or <td> unless "color: inherit" is explicitly specified.
Apparently, this is done to simulate Navigator 4.x, which does not
inherit color through tables. Although the quirk that blocks color
inheritance from the container into the table may be necessary, I don't
think that inheritance should be blocked in any part of the chain
linking <table>, <tbody>, <tr>, and <td>. Applying a color style to any
of these elements has no effect in Navigator, so I don't think any sites
will depend on it not working; there's no point in specifying a color in
the first place. However, MSIE 5 supports intra-table color inheritance
(I haven't tested IE4), and I'm sure sites take advantage of that.
Steps to Reproduce:
Open up testcase (to be attached shortly) in Mozilla.
Actual Results:
Color only inherits if /every single element/ between the assigned color
property and the table cell has 'style="color: inherit"'. This includes
<tbody>, whether it physically appears or not.
Expected Results:
Color should inherit properly through the table tags.
Tested on Mozilla nightly build (id: 2000071810) on Windows 2000
Additional Information:
Bug detected by Matt P <mpetrick@verida.com> on July 26th build.