RE: Fw: Disturbing trend in tables

I dug into this a bit more and there _is_ a way to get FP to output this. If
you use the Theme feature, which applies a set of formatting to a page, and
turn _off_ using CSS for formatting, we will generate a <font> tag inside of
the <td>:

	<td width="33%"><!--mstheme--><font face="trebuchet ms, Arial,
Helvetica">bar<p>baz</p><!--mstheme--></font></td>

If you turn on using CSS for themes, the output is legal:

    <td width="33%">bar<p>baz</p></td>

Anyway, in the interests of full disclosure...

-----Original Message-----
From: David Woolley [mailto:david@djwhome.demon.co.uk] 
Sent: Wednesday, January 10, 2001 3:45 PM
To: w3c-wai-ig@w3.org
Subject: Re: Fw: Disturbing trend in tables

>       <td WIDTH="65" HEIGHT="17"><font FACE="Arial" COLOR="#000000">
>         <p ALIGN="RIGHT">GS-1</font></td>

This is illegal.  font elements require an explicit close tag and
are considered inline elements.  p is a block element.  Therefore
the parser is forced into error recovery when it sees the p without
the font having been closed.

To the person from Microsoft, this is one of the typical errors
produced by GUI authoring tools.

Received on Thursday, 11 January 2001 23:22:56 UTC