Blocked painting of selection for inline inputbox
authorprathmesh.m <prathmesh.m@samsung.com>
Wed, 19 Jun 2013 10:39:09 +0000 (16:09 +0530)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 25 Jul 2013 06:22:04 +0000 (06:22 +0000)
commitf81ad874ea9b40b47fb48aece92cc2edccb518a7
tree1ba4968747b8313e1b03c65eda2cdf609166e1a3
parent558b59d04871dfc4ca78a3a79a58281798a79d11
Blocked painting of selection for inline inputbox

[Title] Blocked painting of selection for inline inputbox
[Issue#] N/A
[Problem] Select content and extend it to input box when
     the IME is not up (input node not focused) and the
     copy the text. Text inside the input box is not copied
     but painted for selection
[Cause] The input box content is in shadow root. So this
     content is not selected. But while painting there is
     such condition. All the contents are getting painted
[Solution] Checking if the content is in shadow root then
     do not paint the selection as it is not selected in the
     dom selection

Change-Id: Ieaf87576d9ec961016982a7c0a1dd1c003315bb3
Source/WTF/wtf/Platform.h
Source/WebCore/rendering/InlineTextBox.cpp