[Webkit-unassigned] [Bug 88376] Incorrect rect-based hit-test result when hit-test region includes culled inlines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 30 07:46:32 PDT 2012


--- Comment #2 from Raymes Khoury <raymes at google.com>  2012-07-30 07:46:33 PST ---
See https://bugs.webkit.org/show_bug.cgi?id=85849. The patch I checked
in contains 1 failing test. In this case the following happens:

The span is a culled inline. The img gets added to the hittest result
and then our "hack" code kicks in. Because the img doesn't fully cover
the hittest region, then the culled inlines are also added. So the
span is added to the hittest result. The span does fully cover the
hittest region, so the hittest should stop at this point. However,
because no bounds checking is performed in our "hack" code,
HitTestResult::addNodeToRectBasedTestResult returns true and the
hittest continues.

There are other cases that fail. For example, assume the culled inline
is completely outside of the hit-test region, it would still get added
to the hit-test result.

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