DescriptionMake Document::caretRangeFromPoint() to work with :before style
This patch is a part of fixing issue 269556 by handling pseudo element in EventHandler.
This patch makes Document::caretRangeFromPoint() to work with :before style by changing HitTestResult class to handle pseudo element in position() and renderer() member functions.
There is similar patch for fixing caretRangeFromPoint() for :first-letter style: https://codereview.chromium.org/25668008
BUG=269556
TEST=LayoutTests/fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-with-before-style.html
Patch Set 1 : 2013-11-29T17:59:37 #
Total comments: 4
Patch Set 2 : 2013-12-03T12:38:54 #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|