Bug 104908

Summary: [Qt4] Rendering issue when using CSS ellipsis text-overflow
Product: WebKit Reporter: Julien Brianceau <jbriance>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: allan.jensen
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 88186    
Attachments:
Description Flags
Patch for qtwebkit 2.3 none

Julien Brianceau
Reported 2012-12-13 06:16:48 PST
Created attachment 179260 [details] Patch for qtwebkit 2.3 Offset computation in offsetForPositionForSimpleText is not correct in Source/WebCore/platform/graphics/qt/FontQt4.cpp implementation whereas the equivalent offset computation used in Qt5 in Source/WebCore/platform/graphics/FontFastPath.cpp is correct. You can compare the result of webkit test LayoutTests/fast/css/text-overflow-ellipsis.html between Qt 4 and Qt 5 to stimulate this issue.
Attachments
Patch for qtwebkit 2.3 (1.46 KB, patch)
2012-12-13 06:16 PST, Julien Brianceau
no flags
Allan Sandfeld Jensen
Comment 1 2012-12-13 07:13:05 PST
Landed in qtwebkit-2.3-staging by commit ec61316964f0d7088f9532c3edca9e468bf870c7
Note You need to log in before you can comment on or make changes to this bug.