mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
The spec does not define activation behavior of ctrl/cmd clicks, so we have to go a bit ad-hoc here. When an anchor element is clicked with the cmd (on macOS) or ctrl (on other platforms) modifier pressed, we will skip activation of that element and pass the event on to the chrome. We still dispatch the event to allow scripts to cancel the event. (cherry picked from commit 40b2d24d5585a94f09f521bb0ceb055dcae7b6e9)
6.5 KiB
6.5 KiB