[Webkit-unassigned] [Bug 107171] Add Android-specific EditingBehavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 14:03:38 PST 2013


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183268|review+                     |review-
               Flag|                            |




--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org>  2013-01-17 14:05:24 PST ---
(From update of attachment 183268)
View in context: https://bugs.webkit.org/attachment.cgi?id=183268&action=review

I'm sorry but I have to r- this.

> Source/WebCore/ChangeLog:11
> +        On Android, EditingBehavior::shouldMoveCaret[...] controls the
> +        behavior of insertion handles. This change adds a new Android specific
> +        editing behavior type so that we can change these settings independent
> +        of behavior for other platforms.

I don't think adding a new editing behavior makes sense here. r-.
The only reason we decided to have these editing behaviors is so that we can test these behaviors in layout tests.
Given that we're not doing it, ifdef will suffice.

> Source/WebCore/editing/EditingBehavior.h:71
> -        return m_type == EditingUnixBehavior;
> +        return m_type == EditingUnixBehavior || m_type == EditingAndroidBehavior;

This code is never used in Android port.

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