Bug 73038 - [test case] Carriage returns within <div> blocks not handled properly
Summary: [test case] Carriage returns within <div> blocks not handled properly
Status: RESOLVED DUPLICATE of bug 26326
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 16:37 UTC by P. Varet
Modified: 2004-01-20 21:58 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 P. Varet 2004-01-20 16:37:03 UTC
Version:           3.2.0rc1 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

When <div> blocks are used to show some code in a Web page, KHTML ignores the carriage returns within the <div> blocks.

Here is an URL demonstrating this behavior:

http://www.pycs.net/users/0000231/weblog/2004/01/04.html

Here is a simple test case:

<body>
Hiya! I am a test case.
<div>
This is line 1.
This is line 2.
</div>
End of the test case.
</body>

This makes KHTML display:

Hiya! I am a test case. 
This is line 1. This is line 2. 
End of the test case.
Comment 1 Stephan Kulow 2004-01-20 20:01:29 UTC
your test case will be rendered like this in every other browser too. You overlooked one little detail

*** This bug has been marked as a duplicate of 26326 ***
Comment 2 P. Varet 2004-01-20 21:58:17 UTC
Ack, you're right. My apologies about this -- I'm no Web developper, so my test cases basically consist of, "find the smallest code subset that triggers the abnormal behavior". I should have known to test it in another browser.