[Webkit-unassigned] [Bug 66630] New: selectionStart returns wrong value when used with combining characters like indic vowel signs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 21 04:52:59 PDT 2011


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

           Summary: selectionStart returns wrong value when used with
                    combining characters like indic vowel signs
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://thottingal.in/bugs/js/selectionstart.html
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: santhosh.thottingal at gmail.com


Created an attachment (id=104626)
 --> (https://bugs.webkit.org/attachment.cgi?id=104626&action=review)
Sample HTML showing wrong selectionStart

Open the attached html in the browser and see the alert. The input field has a two character cluster with a combining character MALAYALAM VIRAMA
ഷ + ്  => ഷ് 
When we try to select at position range (1,2), Following are the results
   - Chrome: FAILS by returning 2,2 - returns the position after the cluster.
   - Firefox: OK - returns 1,2
   - Konqueror: OK - returns 1,2
   - IE: (not supported)

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