Bug 33793 - Last symbol of the last word torn off by line wrap
Summary: Last symbol of the last word torn off by line wrap
Status: RESOLVED DUPLICATE of bug 31076
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-01-18 05:03 PST by A.C.Heron
Modified: 2010-03-06 08:59 PST (History)
1 user (show)

See Also:

Testcase from http://bugreports.qt.nokia.com/browse/QTWEBKIT-10 (562 bytes, text/html)
2010-01-18 05:03 PST, A.C.Heron
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description A.C.Heron 2010-01-18 05:03:00 PST
Created attachment 46812 [details]
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. </div>, </a>). 

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'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.
Comment 1 Benjamin Poulain 2010-03-06 08:59:16 PST

*** This bug has been marked as a duplicate of bug 31076 ***