[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
Wed Aug 4 09:59:02 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40197
Steve Block <steveblock at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steveblock at google.com
--- Comment #54 from Steve Block <steveblock at google.com> 2010-08-04 09:59:00 PST ---
I'm in the process of merging this with the Android hit-testing and noticed the checks for >= 0 in HitTestResult::paddingWidth() and HitTestResult::paddingHeight(). It looks to me like these checks are superfluous, as in the HitTestResult constructor, m_padding is not set if either the width or height of the supplied padding is < 0. If not set, the width and height default to 0. So these checks will always be true.
Am I missing something?
Thanks,
Steve
--
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