diff options
author | Grace Kloba <klobag@google.com> | 2010-05-18 21:59:53 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2010-05-24 21:41:25 -0700 |
commit | 17dcead8ee9edfa8f75e7e2d2284ed3c6f4bd403 (patch) | |
tree | 8d89d459030792e918c95900963217ec89287eab /WebCore/rendering/RenderCounter.h | |
parent | 40a65b8dda8d56276893edcc25c957d13b3a9b77 (diff) | |
download | external_webkit-17dcead8ee9edfa8f75e7e2d2284ed3c6f4bd403.zip external_webkit-17dcead8ee9edfa8f75e7e2d2284ed3c6f4bd403.tar.gz external_webkit-17dcead8ee9edfa8f75e7e2d2284ed3c6f4bd403.tar.bz2 |
First draft to add a fat point to WebKit hit test.
If padding is 0, it is the old style point hit test.
If it finds a node, it will break the search loop
and return.
If padding is non-zero, the first node will be added
to HitTestResult's innerNode as before. But instead
of finishing the search, hit test will continue to
look for other nodes covered by the fat point unless
it is fully inside the current node.
Here are some highlights of the changes.
. instead of testing renderRect.contains(x, y),
we now test renderRect.intersect(pointRect)
. when a Node is hit, it will be appended to the
rawNodeList of HitTestResult. So the order inside
the rawNodeList represents the hit test order.
Currently the fat point doesn't support SVG nodes.
It also doesn't support overflow control yet.
Diffstat (limited to 'WebCore/rendering/RenderCounter.h')
0 files changed, 0 insertions, 0 deletions