Bug 57763

Summary: [test case] overspecified width ignored on table cell
Product: [Applications] konqueror Reporter: Joachim Kohlhammer <joachim.kohlhammer>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Attached testcase

Description Joachim Kohlhammer 2003-04-27 11:56:18 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages

The div in the following html exceeds its td-cell and overlaps with its neighbour. This seems to happen because of the 100% width, if this is removed it looks ok.
As far as I understand the cell should be expanded so the div fits in completly.

<html>
  <head>
    <title>div in td</title>
      <style type="text/css">
        td.nav { background-color: #5A5; padding: 5px; }
	div.nav { width: 10em; background-color: #A55; padding: 5px; }
        td.wide { width: 100%; background-color: #AAA; }
        td.trans { background-color: transparent; }
    </style>
  </head>
  <body>
    <table>
      <tr>
        <td class="nav">Small Cell</td>
        <td class="wide">Big Cell</td>
      </tr>
      <tr>
        <td class="nav">
	  <div class="nav">dived</div>
	</td>
        <td class="trans">Big Cell</td>
      </tr>
    </table>
  </body>
</html>
Comment 1 Tommi Tervo 2003-11-24 21:36:02 UTC
Created attachment 3392 [details]
Attached testcase

Big cell isn't big (cvs head).
Comment 2 Leo Savernik 2004-08-26 22:28:26 UTC
Confirmed. Original bug does not apply anymore, but the second column is too small.
Comment 3 Germain Garand 2004-11-27 18:57:35 UTC
CVS commit by ggarand: 

looks all fine, even in branch

BUG: 57763


  A            baseline/tables/57763.html-dom   1.1
  A            baseline/tables/57763.html-dump.png   1.1
  A            baseline/tables/57763.html-render   1.1
  A            tests/tables/57763.html   1.1