[Webkit-unassigned] [Bug 54929] REGRESSION: Text selection inside a content editable with a line-height applied behaviours

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 10 16:41:18 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54929





--- Comment #6 from Levi Weintraub <leviw at chromium.org>  2011-03-10 16:41:18 PST ---
I messed around a bit here and it comes down to RenderBlock returning the wrong height.  In the success case, a valid height is given to calculating the boundsRect when hit testing the background in RenderBlock::nodeAtPoint, but in the fail case, a height that is much lower than the block's true height is used instead. When the hit test fails to be in the background for the RenderBlock, selection is placed at the end of the previous content, which gives us the result we're seeing.

I'll continue to investigate.

-- 
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