Bug 82273 - css tag white-space: pre; ignores linefeeds.
Summary: css tag white-space: pre; ignores linefeeds.
Status: RESOLVED DUPLICATE of bug 26326
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 3.2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 22:49 UTC by Thomas Zander
Modified: 2004-05-29 22:42 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 Thomas Zander 2004-05-26 22:49:45 UTC
Version:           3.2.2 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.3.2 (Debian)
OS:                Linux (i686) release 2.4.21

The page:
http://www.behindthesite.com/blog/C663408438/E876434710/index.html
has a <div class="source-listing">
tag after which it places text in an '<pre>' like-manner using (among others) this item in the definition:
white-space: pre;

In mozilla the linefeeds and indents from the sourcefile are used; in konqueror (BRANCH 3.2) the whole part becomes one long line.


For archival purposes (in case the css changes) the source-listing entry in the css is in full:

.source-listing {
	font-family: courier;
	font-size: 12px;
	background-color: #eeeeee;
	border: 1px solid #00000;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-left: 24px;
	margin-right: 24px;
	white-space: pre;
}
Comment 1 Gilles Schintgen 2004-05-29 18:59:53 UTC
It seems to me that this is just another duplicate of bug 26326
http://bugs.kde.org/show_bug.cgi?id=26326
Comment 2 Stephan Kulow 2004-05-29 22:42:35 UTC
indeed

*** This bug has been marked as a duplicate of 26326 ***