Changeset 55499 in webkit


Ignore:
Timestamp:
Mar 3, 2010 7:31:14 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-03 Chad Faragher <wyck@chromium.org>

Reviewed by Darin Adler.

Changed the double-click framework code to pass adjusted page
coordinates for zoomed pages. Added a new test to expose
mistreatment of mouse click coordinates during a double-click.

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

  • fast/events/zoom-dblclick-expected.txt: Added.
  • fast/events/zoom-dblclick.html: Added.

2010-03-03 Chad Faragher <wyck@chromium.org>

Reviewed by Darin Adler.
Changed the double-click framework code to pass adjusted page
coordinates for zoomed pages. Added a new test to expose
mistreatment of mouse click coordinates during a double-click.

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

Test: fast/events/zoom-dblclick.html

  • dom/Node.cpp: (WebCore::Node::dispatchMouseEvent):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r55490 r55499  
     12010-03-03  Chad Faragher  <wyck@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Changed the double-click framework code to pass adjusted page
     6        coordinates for zoomed pages.  Added a new test to expose
     7        mistreatment of mouse click coordinates during a double-click.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=35690
     10
     11        * fast/events/zoom-dblclick-expected.txt: Added.
     12        * fast/events/zoom-dblclick.html: Added.
     13
    1142010-03-03  Dumitru Daniliuc  <dumi@chromium.org>
    215
  • trunk/WebCore/ChangeLog

    r55491 r55499  
     12010-03-03  Chad Faragher  <wyck@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4        Changed the double-click framework code to pass adjusted page
     5        coordinates for zoomed pages.  Added a new test to expose
     6        mistreatment of mouse click coordinates during a double-click.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=35690
     9
     10        Test: fast/events/zoom-dblclick.html
     11
     12        * dom/Node.cpp:
     13        (WebCore::Node::dispatchMouseEvent):
     14
    1152010-03-03  David Levin  <levin@chromium.org>
    216
  • trunk/WebCore/dom/Node.cpp

    r55436 r55499  
    28662866        RefPtr<Event> doubleClickEvent = MouseEvent::create(eventNames().dblclickEvent,
    28672867            true, cancelable, document()->defaultView(),
    2868             detail, screenX, screenY, pageX, pageY,
     2868            detail, screenX, screenY, adjustedPageX, adjustedPageY,
    28692869            ctrlKey, altKey, shiftKey, metaKey, button,
    28702870            relatedTarget, 0, isSimulated);
Note: See TracChangeset for help on using the changeset viewer.