Make LayoutText::absoluteQuadsForRange to consider leading/trailing whitespaces
This patch makes |LayoutText::absoluteQuadsForRange| to consider leading and trailing whitespaces by adjusting specified offsets by rendered portion of characters. Before this patch, |LayoutText::absoluteQuadsForRange| returns empty rectangle for character offsets not in |InlineTextBox| objects. BUG=389054 TEST=LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html Review URL: https://codereview.chromium.org/361683002 git-svn-id: svn://svn.chromium.org/blink/trunk@200828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment