1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00

LibWeb: Implement HTMLElement.click()

This doesn't send the correct type of click event, but it does send
something, so it's already somewhat useful. :^)
This commit is contained in:
Andreas Kling 2022-02-15 00:25:51 +01:00
parent 1347c5032b
commit e842e955e5
3 changed files with 28 additions and 1 deletions

View file

@ -7,6 +7,8 @@ interface HTMLElement : Element {
attribute DOMString contentEditable;
undefined click();
// FIXME: Support the optional FocusOptions parameter.
undefined focus();