[Webkit-unassigned] [Bug 40197] Enhance the hit testing to take a rectangle instead of a point

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 19 19:17:14 PDT 2010


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


Antonio Gomes <tonikitoo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60772|0                           |1
        is obsolete|                            |
  Attachment #60772|review?                     |
               Flag|                            |
  Attachment #62029|                            |review?, commit-queue-
               Flag|                            |




--- Comment #40 from Antonio Gomes <tonikitoo at webkit.org>  2010-07-19 19:17:13 PST ---
Created an attachment (id=62029)
 --> (https://bugs.webkit.org/attachment.cgi?id=62029)
patch v3 - feature + tests

Difference from patch v2 (attachment 60772):

- Fixed a bug where input elements were not being hit at all: HitTestResult::addRawNodeForRegionTest is no-op if null'ed Node is passed as parameter, however it was returning 'false', which means that hit test should stop. Now it is returning the proper value (i.e. true) and subsequent hit test processing keeps happenning.

- Fixed an unconditional behavior change in EventHandler::hitTestResultAtPoint: receiving a zero-padding (IntSize(0,0)) still performs a rect-based hit test. The logic was then adapted to consider negative paddings as invalid for rect hit testing purposes.

- Better changeLog entry: it is now more descriptive.

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