[Webkit-unassigned] [Bug 122716] Broken text rendering when input field has selection.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 14 01:42:53 PDT 2013


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





--- Comment #16 from peavo at outlook.com  2013-10-14 01:41:39 PST ---
(In reply to comment #10)
> Does this fix it?
> 
> --- Source/WebCore/rendering/InlineTextBox.cpp    (revision 157368)
> +++ Source/WebCore/rendering/InlineTextBox.cpp    (working copy)
> @@ -610,7 +610,7 @@
> 
>      int sPos = 0;
>      int ePos = 0;
> -    if (paintSelectedTextOnly || paintSelectedTextSeparately)
> +    if (haveSelection && (paintSelectedTextOnly || paintSelectedTextSeparately))
>          selectionStartEnd(sPos, ePos);
> 
>      if (m_truncation != cNoTruncation) {

Updated the patch with your fix, and a testcase.

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