W3C home > Mailing lists > Public > www-html@w3.org > December 2011

Re: Alignment Inheritance in HTML 4.01 Tables

From: Christian Roth <roth@visualclick.de>
Date: Thu, 1 Dec 2011 13:02:39 +0100
Message-Id: <D7F3306A-6476-4D19-AA7F-C09154BAD13E@visualclick.de>
To: www-html@w3.org
On 01.12.2011, at 12:09, Philip TAYLOR wrote:

> In
> 
> <!DOCTYPE HTML>
> <HTML>
> <HEAD>
> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <TITLE>HTML 5 (Provisional) Table Inheritance Test</TITLE>
> </HEAD>
> 
> <BODY>
> <TABLE style="font-size: 70%">
> 	<TR>
> 		<TD>
> 			What size am I ?
> 		</TD>
> 	</TR>
> </TABLE>
> <TABLE style="font-size: 70%">
> 	<TR style="font-size: 70%">
> 		<TD style="font-size: 70%">
> 			What size am I ?
> 		</TD>
> 	</TR>
> </TABLE>
> </BODY>
> </HTML>
> 
> which is the re-written version of the test previously referred to,
> why are the two font samples rendered at exactly the same size ?

because your browser probably has a bug. 

If you check your sample in either e.g. Chromium, Opera, Firefox 7 or current Safari, you'll see that they show the result as you expected (second "What size am I ?" is smaller than the first).

Your latest example shows exactly the point I am making: The HTML 4.01 spec says, 'style' is inherited, when in fact it does not seem to be (or all current browsers would be wrong on this).

-kris
Received on Thursday, 1 December 2011 12:03:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:19 GMT