<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>30075</bug_id>
          
          <creation_ts>2009-10-05 07:59:54 -0700</creation_ts>
          <short_desc>[Qt] &lt;PRE&gt; tag rendering issues...</short_desc>
          <delta_ts>2009-10-06 15:21:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22896</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dawit A.">adawit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152293</commentid>
    <comment_count>0</comment_count>
      <attachid>40632</attachid>
    <who name="Dawit A.">adawit</who>
    <bug_when>2009-10-05 07:59:54 -0700</bug_when>
    <thetext>Created attachment 40632
sample html file to demonstrate the bug.

QtWebKit does not properly render the &lt;pre&gt; html tag. It seems to use non-fixed font for rendering such blocks and hence completely screw up the formatting?? I tried different fixed fonts to see if it makes any difference, but it does not. 

I have attached a small sample html file is to demonstrate the problem. Konqueror with KHTML, Firefox (both Winodows/Linux versions) and Chrome on Windows which is webkit based correctly it while Konqueror with kdewebkit and Arora do not ; so it seems this problem is specific to QtWebKit...

Please note that the version of webkit used to test this issue is 527+, the one that came with Qt 4.5.2, but since there is no way to select that correctly in the bugzilla version field, I selected 528+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152875</commentid>
    <comment_count>1</comment_count>
    <who name="Dawit A.">adawit</who>
    <bug_when>2009-10-06 15:21:41 -0700</bug_when>
    <thetext>Found a duplicate report #22896 ; so marking this a dup...

*** This bug has been marked as a duplicate of bug 22896 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>40632</attachid>
            <date>2009-10-05 07:59:54 -0700</date>
            <delta_ts>2009-10-05 07:59:54 -0700</delta_ts>
            <desc>sample html file to demonstrate the bug.</desc>
            <filename>pre_tag_test.html</filename>
            <type>text/html</type>
            <size>115</size>
            <attacher name="Dawit A.">adawit</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8cHJlPiAKICAgMS4gIDIwMDktMTAtMDEKICAxMC4gIDIwMDktMTAtMDIK
IDEwMC4gIDIwMDktMTAtMDMKMTAwMC4gIDIwMDktMTAtMDQKPC9wcmU+CjwvYm9keT4KPC9odG1s
Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>