Bug 22787 - [Transforms] Drag code in EventHandler::handleDrag is not transform-aware
Summary: [Transforms] Drag code in EventHandler::handleDrag is not transform-aware
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 15670
  Show dependency treegraph
 
Reported: 2008-12-10 10:34 PST by Simon Fraser (smfr)
Modified: 2023-01-17 17:57 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-12-10 10:34:00 PST
EventHandler::handleDrag() has this code:

                // FIXME: This doesn't work correctly with transforms.
                FloatPoint absPos = renderer->localToAbsolute();
                IntSize delta = m_mouseDownPos - roundedIntPoint(absPos);

that is not transform-aware.