mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
It is possible that the bounding rectangle of an element has area 0. This PR avoids panic in this case. It is worth to mention that the panic itself won't kill the entire program for interaction, but only the webdriver thread. Testing: Manually tested on the case of #39495 Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>