Bug 82583

Summary: CSS: white-space:pre does not work (behaves like white-space:nowrap)
Product: [Applications] konqueror Reporter: Daniel Thaler <Daniel>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 3.2.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Thaler 2004-05-31 16:25:32 UTC
Version:           3.2.1 (using KDE 3.2.1, Gentoo)
Compiler:          gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
OS:                Linux (i686) release 2.6.5

White-space:pre does the same as white-space:nowrap, ie everything is placed on the same line.

White-space:pre should respect newlines entered in the editor.

Test Case:

<html><head><title>TESTCASE</title></head><body>
<p style="white-space:nowrap;">
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
with
line-
breaks
</p>
<p style="white-space:pre;">
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
with
line-
breaks
</p>
<p style="white-space:normal;">
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
with
line-
breaks
</p>
</body></html>
Comment 1 Maksim Orlovich 2004-05-31 17:24:02 UTC

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