[Qt] Custom tap-highlight-color renders fully opaque
authorallan.jensen@nokia.com <allan.jensen@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Aug 2012 15:18:17 +0000 (15:18 +0000)
committerallan.jensen@nokia.com <allan.jensen@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Aug 2012 15:18:17 +0000 (15:18 +0000)
commita2bb90f8501d2153a1a603fcd3899e1ebba5773b
treedc8f9b0aa35072bba647e56f0e25ef21992db415
parente7f5a71ecad87e7870a6519ef4c58ed127841815
[Qt] Custom tap-highlight-color renders fully opaque
https://bugs.webkit.org/show_bug.cgi?id=94468

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Adjust the default tap-highlight-color to figure in that is will be
drawn semi-transparent.

* rendering/RenderTheme.h:
(RenderTheme):

Source/WebKit2:

Draw tap-highlight-color at 50% transparency, to better match how
existing WebKit browsers act on custom tap-highlight colors.

* WebProcess/WebPage/TapHighlightController.cpp:
(WebKit::TapHighlightController::drawRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderTheme.h
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/TapHighlightController.cpp