[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 84280] New: khtml mishandles CSS PRE (with testcase)
From:       Arnt Gulbrandsen <arnt () gulbrandsen ! priv ! no>
Date:       2004-06-30 18:57:56
Message-ID: 20040630185756.10419.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=84280      
           Summary: khtml mishandles CSS PRE (with testcase)
           Product: konqueror
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs kde org
        ReportedBy: arnt gulbrandsen priv no


Version:            (using KDE KDE 3.2.3)
Installed from:    FreeBSD Ports
OS:                Linux

When a <pre>-like effect is done using CSS, konqueror doesn't break lines at CR/CRLF. The \
following self-contained HTML shows this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>A</title></head><body>
<p>
This is ordinary text. It should look reasonable. The next bit should be <b>five</b> lines of \
C++ code. Konqueror shows one long line for me.
<p style="font-family: monospace; white-space: pre;">
void A::b( const C * d, E * f )
{
    if ( f() )
        h( d, f, false, true, false, true, false, true, false, true );
}
<p>
Konqueror gets part of the pre right - the line is not permitted to wrap. But whitespace is \
collapsed. <p>
Comments to arnt gulbrandsen priv no, please.
</body>
</html>
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic