Bug 33793

Summary: Last symbol of the last word torn off by line wrap
Product: WebKit Reporter: A.C.Heron <acheron>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: benjamin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Description Flags
Testcase from http://bugreports.qt.nokia.com/browse/QTWEBKIT-10 none

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 ***