summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/DebuggerCallFrame.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-04-15 13:25:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-15 18:01:28 +0200
commit529b1be338da2295179b452c9ae0e5ab48cd9007 (patch)
tree36f62ebbdef16ecb9e5e99f6823bb169e13ac88b /Source/JavaScriptCore/debugger/DebuggerCallFrame.cpp
parent9f1ee0d0625eab0d8ec601a13958f43a879419b1 (diff)
downloadqtwebkit-529b1be338da2295179b452c9ae0e5ab48cd9007.tar.gz
[Qt] New fast/text/word-space-with-kerning-3.html fails on Qt.
https://bugs.webkit.org/show_bug.cgi?id=112668 Reviewed by Jocelyn Turcotte. Source/WebCore: Qt adds word-spacing to leading spaces, but WebCore only expects us to add for trailing spaces. We only corrected for this in width calculation but do need to also do it for drawing. Instead of subtracting the extra word-spacing we now configure the FormatRange not to apply to leading spaces. This means this behavior will be applied everywhere reliably. * platform/graphics/Font.h: (Font): * platform/graphics/qt/FontQt.cpp: (WebCore::Font::drawComplexText): (WebCore::Font::floatWidthForComplexText): (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText): (WebCore::Font::initFormatForTextLayout): LayoutTests: * platform/qt/TestExpectations: Change-Id: I59a4610d5568e223728f5e761461a6a3a9f3e656 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146630 268f45cc-cd09-0410-ab3c-d52691b4dbfc Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/debugger/DebuggerCallFrame.cpp')
0 files changed, 0 insertions, 0 deletions