<?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>35139</bug_id>
          
          <creation_ts>2010-02-18 22:22:12 -0800</creation_ts>
          <short_desc>[Qt] QtWebkit always renders tab character as space</short_desc>
          <delta_ts>2014-10-28 05:48:13 -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>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>63467</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Rion">rion4ik</reporter>
          <assigned_to name="Tor Arne Vestbø">vestbo</assigned_to>
          <cc>kent.hansen</cc>
    
    <cc>kling</cc>
    
    <cc>mail</cc>
    
    <cc>pierre.rossi</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>191823</commentid>
    <comment_count>0</comment_count>
    <who name="Rion">rion4ik</who>
    <bug_when>2010-02-18 22:22:12 -0800</bug_when>
    <thetext>100% reproducible with qt 4.6.1 and 4.6.2

test case:
just create a form with QWebView and try
ui-&gt;webView-&gt;setHtml(&quot;&lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD HTML 4.01 Transitional//EN\&quot; \&quot;http://www.w3.org/TR/html4/loose.dtd\&quot;&gt;&quot;
&quot;&lt;html&gt;&lt;body&gt;&lt;pre&gt;hello	my	fine	world&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;&quot;);

notice tabs between words and &quot;pre&quot;. i also tried various values for white-space css attribute but tabs are always spaces.

just a quick test: open any source hosting site (googlecode for example) with arora browser and browse code (here for example http://code.google.com/p/psi-dev/source/browse/trunk/patches/1010-psi-fix-alt%2BN-crash.diff?spec=svn1885&amp;r=1885 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191826</commentid>
    <comment_count>1</comment_count>
    <who name="Rion">rion4ik</who>
    <bug_when>2010-02-18 22:29:01 -0800</bug_when>
    <thetext>it seems bugzilla translated my tabs into number of spaces. so type them manually in code.

btw fyi bug is not reproducible with not qt webkit. so chromium a epiphany work fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196512</commentid>
    <comment_count>2</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-03-05 09:39:46 -0800</bug_when>
    <thetext>
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

See http://trac.webkit.org/wiki/QtWebKitBugs

Specifically:

  - The &apos;QtWebKit&apos; component should be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit

    http://trac.webkit.org/wiki/QtWebKitBugs#Component</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>427350</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2011-06-25 03:45:55 -0700</bug_when>
    <thetext>Confirmed on trunk. The difference comparing http://code.google.com/p/psi-dev/source/browse/trunk/patches/1010-psi-fix-alt%2BN-crash.diff?spec=svn1885&amp;r=1885 on Chromium and QtTestBrowser is pretty striking.

The tab isn&apos;t being converted a space - it&apos;s a tab but it is only rendered to the width of a space.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>974443</commentid>
    <comment_count>4</comment_count>
    <who name="Thomas Bachem">mail</who>
    <bug_when>2014-01-31 13:05:50 -0800</bug_when>
    <thetext>This issue doesn&apos;t seem fixed to me. I tried Arora with Qt 4.8.6 and it&apos;s still showing tabs at the width of spaces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1044449</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Bachem">mail</who>
    <bug_when>2014-10-28 05:48:13 -0700</bug_when>
    <thetext>Regarding my previous comment: It works for me now in Qt 5+. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>