[Webkit-unassigned] [Bug 61344] --webkit-visual-word does not work in multi-line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 21 18:14:10 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61344
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #112036|review? |review+
Flag| |
--- Comment #48 from Ryosuke Niwa <rniwa at webkit.org> 2011-10-21 18:14:10 PST ---
(From update of attachment 112036)
View in context: https://bugs.webkit.org/attachment.cgi?id=112036&action=review
> Source/WebCore/editing/visible_units.cpp:1492
> + InlineBox* boxInPreviousNode;
> + int ignoredCaretOffset;
> + pos.getInlineBoxAndOffset(DOWNSTREAM, boxInPreviousNode, ignoredCaretOffset);
> +
> + if (boxInPreviousNode)
> + return boxInPreviousNode->root();
Please use RenderedPosition to obtain the root inline box.
> Source/WebCore/editing/visible_units.cpp:1518
> + InlineBox* boxInNextNode;
> + int ignoredCaretOffset;
> + pos.getInlineBoxAndOffset(DOWNSTREAM, boxInNextNode, ignoredCaretOffset);
> +
> + if (boxInNextNode)
> + return boxInNextNode->root();
Ditto.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list