[Webkit-unassigned] [Bug 82688] Caret is not rendered properly inside an input element with text-indent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 16:16:34 PDT 2012


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





--- Comment #10 from Levi Weintraub <leviw at chromium.org>  2012-04-16 16:16:34 PST ---
(In reply to comment #9)
> Sorry for the confusion. WebKit does provide the right caret position for the input element When it has text content -- so, at the moment when the first character entered, I checked the insertion position calculated in RenderText::localCaretRect and found it never beyond right edge. 
> 
> In other words, if we don't check the x value, you will see the caret 'jumps' after inserting first character in following case, "<input id='textIndentTest' type='text' style='text-indent:30px;text-align:right'>".

Ahhh, that explains it. Thanks for clearing that up :)

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