[Webkit-unassigned] [Bug 25321] RLE/LRE characters are removed from any text entered into a text box (either using a keyboard or by pasting)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 09:52:35 PDT 2010


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


Xiaomei Ji <xji at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65626|0                           |1
        is obsolete|                            |
  Attachment #67049|                            |review?
               Flag|                            |




--- Comment #13 from Xiaomei Ji <xji at chromium.org>  2010-09-09 09:52:34 PST ---
Created an attachment (id=67049)
 --> (https://bugs.webkit.org/attachment.cgi?id=67049)
patch w/ layout test

1. I've tried to change Position::upstream(), Position::downstream(), and Position::isCandidate() universally, but it breaks editing/selection/home-end (test case 16)  and editing/selection/extend-selection (test case 17) tests, where the Unicode bidi control characters are the first characters in the element. In those situation, we should allow the control characters to be ignored.
So, I am adding a flag to differentiate the insert/cut/copy/paste operations from others.

2. Currently, the patch only fixes problem in insertion and paste. Since cut/copy does not work correctly, the result of the paste in the test case is actually wrong (although paste itself works correctly).
If the approach is the right one, I will fix the problem in cut/copy as well.

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