Bug 57763 - [test case] overspecified width ignored on table cell
Summary: [test case] overspecified width ignored on table cell
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-27 11:56 UTC by Joachim Kohlhammer
Modified: 2004-11-27 18:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Attached testcase (773 bytes, text/html)
2003-11-24 21:36 UTC, Tommi Tervo
Details

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