(point: EventPoint, target: Element)
| 1140 | } |
| 1141 | |
| 1142 | function isOverTarget(point: EventPoint, target: Element) { |
| 1143 | let rect = target.getBoundingClientRect(); |
| 1144 | let pointRect = getPointClientRect(point); |
| 1145 | return areRectanglesOverlapping(rect, pointRect); |
| 1146 | } |
| 1147 | |
| 1148 | function shouldPreventDefaultUp(target: Element) { |
| 1149 | if (target instanceof HTMLInputElement) { |
no test coverage detected