Bug 110721 - css overflow attribute does not work in TD
Summary: css overflow attribute does not work in TD
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal with 1 vote (vote)
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 20:15 UTC by Dick
Modified: 2006-07-06 19:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:

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

.tbl {
   table-layout:fixed;
   width: 100px;
}
.tbl TR {
   height:18px;
   line-height:18px;
}

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