| Summary: | css overflow attribute does not work in TD | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Dick <kde> |
| Component: | khtml renderer | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Mandriva RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
fixed by r559131 |
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>