<?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>32019</bug_id>
          
          <creation_ts>2009-12-01 06:45:31 -0800</creation_ts>
          <short_desc>[Qt] last word inside a tag is divided into two lines if it ends with non-ascii characters</short_desc>
          <delta_ts>2011-03-06 01:56:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>31076</dup_id>
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>eekaikko</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>benjamin</cc>
    
    <cc>joseph.wild</cc>
    
    <cc>kent.hansen</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>167584</commentid>
    <comment_count>0</comment_count>
    <who name="">eekaikko</who>
    <bug_when>2009-12-01 06:45:31 -0800</bug_when>
    <thetext>If a word is the last word inside a tag, it ends with non-ascii utf8 characters and there are no characters after it before the end-tag, the word may be cut into two lines. Draw the window narrower with the test case (it may be necessary to enlarge the font if the browser window can&apos;t be narrow enough).

This has been confirmed with QWebView and also in Arora browser on Linux and Windows, but couldn&apos;t be repeated with KHTML or Safari, i.e. it&apos;s probably Qt specific.

The test case is below, it&apos;s also attached:

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;span&gt;doesn&apos;t happen: not divided&lt;/span&gt;
&lt;div&gt;happens: äöäöäöääöå&lt;/div&gt;
&lt;span&gt;happens: abcdefgäöå&lt;/span&gt;
&lt;div&gt;doesn&apos;t happen: ölööööäå.&lt;/div&gt;
&lt;div&gt;doesn&apos;t happen: not divided&lt;/div&gt;
&lt;span&gt;happens: äöäöäöääöå&lt;/span&gt;
&lt;div&gt;happens: abcdefgäöå&lt;/div&gt;
&lt;span&gt;doesn&apos;t happen: ölööööäå.&lt;/span&gt;
&lt;span&gt;happens? dfabcöbcadf&lt;/span&gt;
&lt;span&gt;happens? tabcöäbcaa&lt;/span&gt;
&lt;span&gt;happens? öäbcaadfd&lt;/span&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167588</commentid>
    <comment_count>1</comment_count>
      <attachid>44072</attachid>
    <who name="">eekaikko</who>
    <bug_when>2009-12-01 06:52:34 -0800</bug_when>
    <thetext>Created attachment 44072
testcase

Did the previous attachement come in? Anyways, the text in the original report text was a bit outdated, here is the final one...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198075</commentid>
    <comment_count>2</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-03-10 06:38:13 -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 only 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

  - Add the keyword &apos;Qt&apos; to signal that it&apos;s a Qt-related bug

      http://trac.webkit.org/wiki/QtWebKitBugs#Keywords</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198531</commentid>
    <comment_count>3</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-11 02:02:05 -0800</bug_when>
    <thetext>Reproduced on Linux with 4.6, r55658.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362718</commentid>
    <comment_count>4</comment_count>
    <who name="Joe Wild">joseph.wild</who>
    <bug_when>2011-03-04 14:52:42 -0800</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=34470
Bug 34470 - [Qt] Non-ASCII line breaking doesn&apos;t work properly (seen
at www.mail.ru)

https://bugs.webkit.org/show_bug.cgi?id=32019 ?
Bug 32019 - [Qt] last word inside a tag is divided into two lines if
it ends with non-ascii characters

  I looked at both these errors and was not able to reproduce either.
  Neither has been commented on in almost a year.  I suspect these
  were duplicates that have been fixed along the way.

  Unless someone can verify these are still a problem, I think these
  should be resolved as WorksForMe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363051</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-03-06 01:56:21 -0800</bug_when>
    <thetext>My bet is that has been fixed by Pierre in https://bugs.webkit.org/show_bug.cgi?id=31076

*** This bug has been marked as a duplicate of bug 31076 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>44072</attachid>
            <date>2009-12-01 06:52:34 -0800</date>
            <delta_ts>2009-12-01 06:52:34 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>562</size>
            <attacher>eekaikko</attacher>
            
              <data encoding="base64">PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJz
ZXQ9VVRGLTgiPgo8c3Bhbj5Eb2Vzbid0IGhhcHBlbjogbm90IGRpdmlkZWQ8L3NwYW4+CjxkaXY+
SGFwcGVuczogw6TDtsOkw7bDpMO2w6TDpMO2w6U8L2Rpdj4KPHNwYW4+SGFwcGVuczogYWJjZGVm
Z8Okw7bDpTwvc3Bhbj4KPGRpdj5Eb2Vzbid0IGhhcHBlbjogw7bDtsO2w7bDtsOkw6UuPC9kaXY+
CjxkaXY+RG9lc24ndCBoYXBwZW46IG5vdCBkaXZpZGVkPC9kaXY+CjxzcGFuPkhhcHBlbnM6IMOk
w7bDpMO2w6TDtsOkw6TDtsOlPC9zcGFuPgo8ZGl2PkhhcHBlbnM6IGFiY2RlZmfDpMO2w6U8L2Rp
dj4KPHNwYW4+RG9lc24ndCBoYXBwZW46IMO2w7bDtsO2w7bDpMOlLjwvc3Bhbj4KPHNwYW4+RG9l
c24ndCBoYXBwZW46IGRmYWJjw7ZiY2FkZjwvc3Bhbj4KPHNwYW4+RG9lc24ndCBoYXBwZW46IHRh
YmPDtsOkYmNhYTwvc3Bhbj4KPHNwYW4+RG9lc24ndCBoYXBwZW46IMO2w6RiY2FhZGZkPC9zcGFu
Pgo8c3Bhbj5Eb2Vzbid0IGhhcHBlbjogw7bDpMO2w6XDpMO2w6Ugbm90PC9zcGFuPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>