Bug 110721

Summary: css overflow attribute does not work in TD
Product: [Applications] konqueror Reporter: Dick <kde>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dick 2005-08-13 20:15:56 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs

When a table has table-layout:fixed specified and a TD with overflow:hidden set contains a text that overflows, it is not truncated. 

The text is hidden in MSIE and in firefox.

See this example:

<title>TD overflow bug</title>
<style type="text/css">

.tbl {
   width: 100px;
.tbl TR {

.tbl TD {
   height: 18px;
   width: 50px;
   overflow: hidden;
   white-space: nowrap;
.tbl TD DIV {
    overflow: hidden;
<table class="tbl" cellpadding="0" cellspacing="0">
<td>this text should be truncated, but it is not!</td>
<td><div>if in a div then it is truncated!</div></td>
Comment 1 Germain Garand 2006-07-06 19:16:43 UTC
fixed by r559131