DescriptionSelection should not set the cursor type to text over the explicitly set cursor type.
When tried to select some text in an area that has style
cursor:default set, cursor type changes to text cursor ignoring
the cursor style that is explicitly set.
When the cursor style is explicitly set as default(or something else),
we should not change it to text cursor no matter what we are over
or what operation we are performing (be it hovering over the text
or selecting the text).
We change the cursor type to text during selection. But if there is
an explicit cursor style set then this explicitly set cursor style
should be given priority over the text style cursor during selection.
This makes the blink behavior compatible with that of FF.
This also makes the behavior uniform within blink i.e. currently
if the area on which cursor:default is set is contenteditable, in this
particular case we do not change the cursor style to text on
selection. This should be the behavior irrespective of editability.
BUG=134999
R=eseidel, leviw, ojan, yosin
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157946
Patch Set 1 #
Total comments: 1
Patch Set 2 : patch with test case #Patch Set 3 : Patch updated #
Total comments: 3
Patch Set 4 : Review comments incorporated #
Total comments: 3
Patch Set 5 : Patch for landing #
Messages
Total messages: 12 (0 generated)
|