[Webkit-unassigned] [Bug 52241] REGRESSION(r69831): focus() in onkeypress discards input (affects chaseonline.chase.com)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 12 17:02:48 PST 2011


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





--- Comment #9 from Eric Seidel <eric at webkit.org>  2011-01-12 17:02:47 PST ---
(From update of attachment 78758)
View in context: https://bugs.webkit.org/attachment.cgi?id=78758&action=review

> Source/WebCore/rendering/RenderTextControl.cpp:311
> +        if (offset <= start && start <= offset + length) {
> +            if (node->isTextNode()) {
> +            } else {
> +            }
> +        if (offset <= end && end <= offset + length) {
> +                end -= offset;
> +                endNode = node->parentNode();
> +            }
> +            break;
> +        }

These two blocks are basically identical.  Seems we should use an inline function here instead.

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