Closed Bug 41284 Opened 25 years ago Closed 25 years ago

CSS inheretance broken with tables

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: mikebabcock, Assigned: pierre)

References

Details

(Keywords: css1)

One example: <ADDRESS> Text with proper "address" style. <table><tr><td>Text without "address" style.</td></tr></table> Text without proper "address" style. </ADDRESS> Note that this is true even if the table, tr and td tags have to styles assigned (other than defaults of course).
This is as designed, in quirks mode. Insert an HTML 4 strict DOCTYPE at the top of your page and it should work fine. See http://www.w3.org/TR/REC-html4 for information on which DOCTYPE to use for HTML 4 strict. Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Keywords: css1, verifyme
Resolution: --- → INVALID
Please refer to documentation on this "quirk" mode that is "broken" on purpose.
We're working on that, see bug 36045 and bug 31932.
*** Bug 41691 has been marked as a duplicate of this bug. ***
IMHO, quirks mode should not be the default at all if Mozilla is to be accepted as a standards compliant browser. A DTD to specify quirks mode, or a tag for quirks mode (why not, its the _wrong way_ to render, so why not add a proprietary extension for the sake of having people get those results?) seems a lot more appropriate than trying to _force_ the correct way of rendering a page. PS, I selected the proper DTD for my page and it still renders improperly.
Please open another bug on the other issues in the page.
*** Bug 41761 has been marked as a duplicate of this bug. ***
Verifying. I do agree that "Quirks" mode should be default here though.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.