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

List:       konq-bugs
Subject:    [Bug 154143] No line wraps in [code] tag
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2007-12-30 21:06:30
Message-ID: 20071230210630.15900.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=154143         




------- Additional Comments From thomas.friedrichsmeier ruhr-uni-bochum de  2007-12-30 22:06 -------
"[code]" is essentially a <pre>-tag.

The page links two CSS files:

<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wiki/winehq/css/common.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/wiki/winehq/css/screen.css">

screen.css does not define any special handling for <pre>, but common.css defines:

pre {
/* snip */
	white-space: pre;
	/* begin css 3 or browser specific rules - do not remove!
	see: http://forums.techguy.org/archive/index.php/t-249849.html */
    white-space: pre-wrap;
    word-wrap: break-word;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    /* end css 3 or browser specific rules */
}

Not sure what is the correct behavior, here (but Opera agrees with Firefox).
_______________________________________________
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