aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2015-02-19 09:38:29 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2015-02-19 09:39:11 +1000
commit451512aa297e6de8dd6c3b272df4a70a4862e9f1 (patch)
tree2e88113f33b775cdae84f71a8edd62b560201ab8 /python/servo/testing_commands.py
parent5622366bc5d40e387114ad51fdfb3a321772351d (diff)
downloadservo-451512aa297e6de8dd6c3b272df4a70a4862e9f1.tar.gz
servo-451512aa297e6de8dd6c3b272df4a70a4862e9f1.zip
Fixes a number of issues with setting hover state, and simplifies the code.
Specifically: - Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs. - Send the mousemove event after all the hover states have been set correctly. - Correctly handle removing hover state from elements when mouse is not over any elements. - Correctly detect when a reflow is required (previous code failed in several edge cases).
Diffstat (limited to 'python/servo/testing_commands.py')
0 files changed, 0 insertions, 0 deletions