Closed Bug 41761 Opened 24 years ago Closed 24 years ago

font-size is only inherited in a table when using strict HTML 4.01 as DOCTYPE

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 41284

People

(Reporter: zzed, Assigned: clayton)

Details

According to http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-size
the font size should be inherited, and so it is when declaring strict HTML 4.01,
but not with HTML 4.01 Transitional. I have only seen this behavor with tables.
Testcase (without DOCTYPE):

<html>
<head>
<title></title>
</head>
<body>
<table style="font-size: smaller">
<tr><td>this text should be small.</td></tr>
</table>
</body>
</html>
Marking duplicate of bug marked INVALID.  This is a known issue, and it is done 
for 4.x/IE compatibility.  It works correctly in strict mode.

*** This bug has been marked as a duplicate of 41284 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.