summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderMeter.cpp
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-05-18 21:59:53 -0700
committerGrace Kloba <klobag@google.com>2010-05-24 21:41:25 -0700
commit17dcead8ee9edfa8f75e7e2d2284ed3c6f4bd403 (patch)
tree8d89d459030792e918c95900963217ec89287eab /WebCore/rendering/RenderMeter.cpp
parent40a65b8dda8d56276893edcc25c957d13b3a9b77 (diff)
downloadexternal_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/RenderMeter.cpp')
0 files changed, 0 insertions, 0 deletions