зеркало из https://github.com/mozilla/gecko-dev.git
1320e96e69
The test in helper_bug1162771 dispatches a touchstart on an element, and then inside the touchstart handler makes that element display:none. It then sends a touchend at what should be the same position. However, since the position of the touch is calculated from the position of the element, the touchend position can be wrong because the element is set to display:none in between. This patch saves the position before sending the touchstart, and makes sure to use the same position for the touchend. MozReview-Commit-ID: GoyQvNJ1wRZ --HG-- extra : rebase_source : 10fbd5d306aa36b46196758d672fce72347ca638 |
||
---|---|---|
.. | ||
public | ||
src | ||
test | ||
testutil | ||
util |