[Webkit-unassigned] [Bug 6132] New: Incorrect selection highlighting for ATSUI text when selected range is "CG-safe"

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Dec 18 09:21:18 PST 2005


           Summary: Incorrect selection highlighting for ATSUI text when
                    selected range is "CG-safe"
           Product: WebKit
           Version: 412+
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at mitzpettel.com
OtherBugsDependingO 5166

[Split off from bug 5166]
Summary: The selection highlight is partial or offset when the selection consists of "CG-safe" characters 
only but it is preceded by "need-ATSUI" characters.

To reproduce: double-click "dolor" in the testcase.

The position of the highlight rectangle depends on the width of all text before the selection, so the 
ATSUI code path should be used to draw the highlight even if the selected range itself does not require 
The same applies to drawing text for the drag image when dragging a partial selection.

The fix for both is to change shouldUseATSU to always scan from the beginning. This should not affect 
layout and rendering performance, since run->from is zero anyway in all but the above two cases.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list