[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
Fri Jul 23 12:11:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40197
Antonio Gomes <tonikitoo at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #62313|0 |1
is obsolete| |
Attachment #62313|review?, commit-queue? |
Flag| |
Attachment #62453| |review?, commit-queue?
Flag| |
--- Comment #45 from Antonio Gomes <tonikitoo at webkit.org> 2010-07-23 12:11:17 PST ---
Created an attachment (id=62453)
--> (https://bugs.webkit.org/attachment.cgi?id=62453)
patch v6 - feature + tests
Changes from v5:
1) it avoids copying unnecessery class members by not using the copy constructor when applicable. It uses constructions like:
HitTestResult tempResult(result.point(), result.padding());
instead of:
HitTestResult tempResult(result); <- copy constructor
2) On assignment and copy constructor, the ListHashSet only gets copied if it is a rect based hit test, for performance reasons.
It specially matches the concern expressed in comment #38.
Again for the comon case of non
--
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