Bug 132160

Summary: [TestCase] Wrong reltaive size of pre-tag within a table
Product: [Applications] konqueror Reporter: Pierre Schmitz <pschmitz>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: grundleborg
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: test case

Description Pierre Schmitz 2006-08-09 22:08:36 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Unspecified Linux
OS:                Linux

If you put a pre-tag with a relative width within a table, width is not calculated correct. Just see my test-case for more information:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
	<title>
		Test Case
	</title>
</head>
<body>
<h1>pre within a table (relative width)</h1>
<table>
	<tr>
		<td>
			<pre style="width:50%;overflow:auto;">
			wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
			</pre>
		</td>
	</tr>
</table>
<h1>pre within a table (fixed width)</h1>
<table>
	<tr>
		<td>
			<pre style="width:300px;overflow:auto;">
			wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
			</pre>
		</td>
	</tr>
</table>
<h1>pre within a div (relative width)</h1>
<div>
	<pre style="width:50%;overflow:auto;">>
	wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
	</pre>
</div>
</body>
</html>
Comment 1 Allan Sandfeld 2006-10-14 19:44:53 UTC
Created attachment 18118 [details]
test case
Comment 2 Michael Zanetti 2008-04-20 18:20:54 UTC
confirmed for trunk r798527
Comment 3 Myriam Schweingruber 2012-06-18 14:08:22 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.