Tap highlighting: Support better outlines for multiline inlines https://bugs.webkit...
authorkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 14:28:13 +0000 (14:28 +0000)
committerkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 14:28:13 +0000 (14:28 +0000)
commit6dc9112a5137a56d8e80c7234ecce6fac2b8bdeb
treea8aa6545fe8548d8a3a405d51fc451d13c459030
parenta5a0fbb19e4d82c22de0e3dcf2a15bc0eaf455af
Tap highlighting: Support better outlines for multiline inlines https://bugs.webkit.org/show_bug.cgi?id=77428

Reviewed by Simon Hausmann.

.:

Update the test to use a transform.

* ManualTests/qt/tap-highlighting-inlines.html:

Source/WebCore:

Covered by manual tests.

Do not use the linesBoundingBox anymore but draw a custom path
with rounded corners. Inlines are drawn as max 3 rects, first
line rect, joined middle rect and the rect for the last line.

* page/GestureTapHighlighter.cpp:
* platform/graphics/Path.h: Make addBeziersForRoundedRect public.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/qt/tap-highlighting-inlines.html
Source/WebCore/ChangeLog
Source/WebCore/page/GestureTapHighlighter.cpp
Source/WebCore/platform/graphics/Path.h