[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 14:35:45 PDT 2012


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





--- Comment #6 from Levi Weintraub <leviw at chromium.org>  2012-04-16 14:35:45 PST ---
(From update of attachment 137347)
View in context: https://bugs.webkit.org/attachment.cgi?id=137347&action=review

> Source/WebCore/rendering/RenderBlock.cpp:6495
> +    x = min(x, w - (borderRight() + paddingRight()) - caretWidth);

This is needed to prevent x from being beyond the edge? Why isn't this needed for the left side as well?

Also, why not w - borderRight() - paddingRight() - caretWidth? Same with above. Seems less confusing.

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