mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
LibWeb/DOM: Actually stub out pointer-capture API
For real this time. This makes panning the KendoReact map widget actually work: https://www.telerik.com/kendo-react-ui/components/map
This commit is contained in:
parent
cfc1fd7305
commit
6ff2324f26
Notes:
github-actions[bot]
2025-04-14 10:56:36 +00:00
Author: https://github.com/AtkinsSJ
Commit: 6ff2324f26
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4347
3 changed files with 28 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <LibWeb/HTML/TagNames.h>
|
||||
#include <LibWeb/IntersectionObserver/IntersectionObserver.h>
|
||||
#include <LibWeb/WebIDL/ExceptionOr.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::DOM {
|
||||
|
||||
|
@ -466,6 +467,10 @@ public:
|
|||
Element const* list_owner() const;
|
||||
size_t ordinal_value() const;
|
||||
|
||||
void set_pointer_capture(WebIDL::Long pointer_id);
|
||||
void release_pointer_capture(WebIDL::Long pointer_id);
|
||||
bool has_pointer_capture(WebIDL::Long pointer_id);
|
||||
|
||||
protected:
|
||||
Element(Document&, DOM::QualifiedName);
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue