<?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>33793</bug_id>
          
          <creation_ts>2010-01-18 05:03:00 -0800</creation_ts>
          <short_desc>Last symbol of the last word torn off by line wrap</short_desc>
          <delta_ts>2010-03-06 08:59:16 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="A.C.Heron">acheron</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181832</commentid>
    <comment_count>0</comment_count>
      <attachid>46812</attachid>
    <who name="A.C.Heron">acheron</who>
    <bug_when>2010-01-18 05:03:00 -0800</bug_when>
    <thetext>Created attachment 46812
Testcase from http://bugreports.qt.nokia.com/browse/QTWEBKIT-10

If the last word on the line ends with a UTF symbol (a symbol not in the standard ASCII range 32-126), the last symbol may be torn off and the next line would contain only this symbol. Usually this happens if the word is followed by a closing tag (e.g. &lt;/div&gt;, &lt;/a&gt;). 

To reproduce open the attached file and resize text or the window until non-ASCII symbols get to the right edge.

Observed in Qt-Webkit-based browsers: Arora, Rekonq — under Linux. Kernel version: 2.6.30-gentoo-r5, AMD64, xorg-server version 1.6.5-r1, qt-webkit version 4.6.0-r1 (not sure to which version of Webkit it corresponds). 

This bug has been reported to Qt bugzilla: http://bugreports.qt.nokia.com/browse/QTWEBKIT-10 , but they concluded it&apos;s a Webkit bug.

The bug #27074 (emdash at the end of the line going to the next line) may be a manifestation of the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196912</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-03-06 08:59:16 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 31076 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46812</attachid>
            <date>2010-01-18 05:03:00 -0800</date>
            <delta_ts>2010-01-18 05:03:00 -0800</delta_ts>
            <desc>Testcase from http://bugreports.qt.nokia.com/browse/QTWEBKIT-10</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>562</size>
            <attacher name="A.C.Heron">acheron</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>