mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
The embedder should never be responsible for triggering click events, so this change removes that possibility from the API. In addition, triggering of click events is simplified by moving the logic to the `DocumentEventHandler`. This has the benefit of making behavior consistent between in-process and out-of-process `<iframe>`s. Now click events are never triggered when the button up and down cross frame boundaries. Testing: This should be covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>