[Webkit-unassigned] [Bug 51653] New: Text selection code shouldn't be invoked when -webkit-user-select is none

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 27 13:25:13 PST 2010


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

           Summary: Text selection code shouldn't be invoked when
                    -webkit-user-select is none
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: noam.rosenthal at nokia.com


This has found to have a major performance impact on some use cases, mainly when using finger-touch or mouse to scroll.
It seems like even when user-select is turned off, the logic to break the text into words/characters, which is part of the selection logic, is unnecessarily invoked. The text-breaking code in some cases can be performance intensive.

This can be rectified by making sure that the user-select code is on before starting the text-breaking logic.

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