[webkit-dev] Table hit testing

Fady Samuel fsamuel at google.com
Tue May 18 10:52:16 PDT 2010


Hi all,

I'm looking at table hit testing, and in all the simple test cases I've
tried, it seems to show that RenderTable never has the flag
m_hasOverflowClip set to true. What this means is that all the table's
children are ALWAYS checked on all mouse events. For large tables, or pages
with many tables, this sounds awfully taxing on the processor for no good
reason.

See RenderTable::nodeAtPoint in
third_party/WebKit/WebCore/rendering/RenderTable.cpp . It seems
"hasOverflowClip()" is always false.

Can we not compute a bounding box for the table on layout? Are there any
complications here that I should be aware of that resulted in this
inefficient solution?

Thanks,

Fady Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100518/230d0b7d/attachment.html>


More information about the webkit-dev mailing list