On May 20, 2010, at 3:07 PM, David Hyatt wrote:
> If we could properly detect those degenerate cases, then you could probably
> get away with binary search, but until we do that, I don't think you can.
Here's an example:
<STYLE>
TD:hover { color: green }
</STYLE >
<TABLE border="1">
<TR><TD>1 <TD>2 <TD>3
<TR><TD>4 <TD rowspan="2">5 <TD>6
<TR><TD colspan="2">7 <TD>9
</TABLE>
In this example, cell 5 and cell 7 actually overlap and share a position in the
grid. You can see that hit testing works properly and gives cell 7 precedence
over cell 5 (e.g., if you're in overlapping background areas of the cell, then
cell 7 wins).
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev