-
- Downloads
Bug 1359043 - Remove incorrect click/scroll test r=whimboo
The test assumes the click point is the centre of the element, whereas WebDriver uses the _in-view_ centre point to perform clicks. If parts of the element is rendered outside the viewport, the click point is calculated from visible portion of the element that is seen in the viewport. This means that if any portion of an element is within the boundaries of the viewport, it is clickable. If it is not, then it is not interactable. This change is unfortunately not accompanied with any implementation changes, but prepares Marionette for the changes to the Element Click implementation that will come as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1321516. MozReview-Commit-ID: Kh0zzRrtmJ4 --HG-- extra : rebase_source : 63cc463a11d5ca085e7a96ea84dcadbe3bb90204
Please register or sign in to comment