[Webkit-unassigned] [Bug 22896] New: [Qt] contents of <pre> element not rendered in monospace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 16 18:39:54 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22896

           Summary: [Qt] contents of <pre> element not rendered in monospace
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mike at w3.org


I'm seeing some weird behavior in my environment (Debian testing with KDE 3.5)
with Arora built against a recent Qt 4.5 + QtWebKit snaphot. A demo of the
problem is here:

http://www.w3.org/2008/12/pre-test.html

An image of how that page renders in my environment is here:

http://www.w3.org/2008/12/pre-test.html.png

The specific problem is that he contents of a plain <pre> element don't get
rendered in monospace (see the first paragraph). If I do <pre
class="style="font-family: Courier, monospace">, it seems to show  up on
Courier as expected, but with italic and bold. However, if I do <pre
class="style="font-family: Bitstream Vera Sans Mono, monospace">, it shows up
correctly (monospace without any bold or italic).

I pinged Ben Meyer about this on #arora and he seemed to indicate that he
didn't reckon this to be an Arora-specific bug (but instead I guess a QtWebKit
bug), so I'm raising it here.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list