DescriptionnodeAtPoint(): Perform the early-check EARLY.
Hit-testing overflow controls before checking if we need to do anything at all
affected performance, so just remove the LayoutBlock override for nodeAtPoint()
and hit test overflow controls there, but do so AFTER we have made sure that
the point is within bounds.
Fixes 15% performance regression for
PerformanceTests/Events/hit-test-lots-of-layers.html
BUG=610250
Committed: https://crrev.com/4f8e71034d840043dcf49bb51e8f911ec284f709
Cr-Commit-Position: refs/heads/master@{#392626}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|