[Webkit-unassigned] [Bug 42660] New: mousedown in canvas should not trigger selection in document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 20 13:07:57 PDT 2010


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

           Summary: mousedown in canvas should not trigger selection in
                    document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://alteredqualia.com/canvasmol/
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tonyg at chromium.org
                CC: arv at chromium.org, jamesr at chromium.org


1. Open http://alteredqualia.com/canvasmol/
2. Click down on the rotating molecule
3. With the mouse button depressed, drag outside of the molecule to another point on the page

Notice that text in the page becomes selected.

There are a lot of cool HTML5 canvas demos that show off capabilities equivalent to flash. However, when interacting with them, I always get really annoyed by the fact that I frequently accidentally select other text/elements on the page. This doesn't seem to happen for plugins.

Rather than swallowing the events like plugins do, I think a reasonable heuristic would be to simply disallow selection if the selection begins inside of a canvas. But the mouseup/mousemove events would still go to the rest of the page in every other way. Thoughts?

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