[new TESTCASE] khtml and table widths

Ladislav Strojil Ladislav.Strojil at seznam.cz
Thu Jul 18 11:58:32 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 18 July 2002 12:48, Vadim Plessky wrote:
> On Thursday 18 July 2002 11:57 am, Ladislav Strojil wrote:
> |  Hi,
> |  recent commits by Dirk Mueller broke table rendering for me.
> |
> |  See the test case at http://www.strojil.cz/khtml_testcase.html
>
> You have mistakes/wrong assumption in your code.
>

<SNIP>

> 1) there is no *default* width for the table if you do not specify its
> width adding width=100% fixes misunderstanding.

Hmm, OK.

> 2) Browser (userAgent) calculates widths of cells (columns) using *first
> row* (you may want to chekc the specs)
> So, you testcase with
> 		<tr>
> 			<td colspan="3">Does your KHTML get it right?</td>
> 		</tr>
> is very confusing. No info what should be cell's widths...

Wow, so if I want to make the first row a heading, I am cannot rely on column 
sizes? 

> Please check attached (corrected) testcase, it renders similary in Mozilla
> and Konqueror.
> (NOTE: I tested with KDE 3.0.2, *without* Dirk's fixes!...)

It renders in exactly same way as my testcase. Note that I am pretty sure that 
Dirk's commits are what changed this behaviour. 

Even two days old 3.1 would render it the same way Mozilla does. 

Cheers,
Lada

- -- 
    ~       Ladislav Strojil, MFF UK
  ' v '               
 //   \\              
/(     )\    Powered by Penguin.
  ^ ' ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Np9YTnMZPFqq4nwRAjdUAKDDNvoLEfjLAbMa2HSHgZWzGR/7FwCfarRP
0xVbOeKgiTBl4x0BDr+7JqM=
=q38E
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list