mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +00:00
LibWeb: Support non-required numpad code names
These aren't required to comply with the UIEvents spec, but they are required by WebDriver.
This commit is contained in:
parent
a11e5055c7
commit
5b2633d90f
Notes:
github-actions[bot]
2024-10-10 08:42:15 +00:00
Author: https://github.com/trflynn89
Commit: 5b2633d90f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1706
6 changed files with 85 additions and 9 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/Internals/InternalAnimationTimeline.h>
|
||||
#include <LibWeb/UIEvents/MouseButton.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::Internals {
|
||||
|
||||
|
@ -24,8 +25,8 @@ public:
|
|||
void gc();
|
||||
JS::Object* hit_test(double x, double y);
|
||||
|
||||
void send_text(HTML::HTMLElement&, String const&);
|
||||
void send_key(HTML::HTMLElement&, String const&);
|
||||
void send_text(HTML::HTMLElement&, String const&, WebIDL::UnsignedShort modifiers);
|
||||
void send_key(HTML::HTMLElement&, String const&, WebIDL::UnsignedShort modifiers);
|
||||
void commit_text();
|
||||
|
||||
void click(double x, double y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue