1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

LibWeb: Improve HTMLElement.click()

This API now follows the spec a bit more closely, with regards to the
event being dispatched. There are still FIXME's but this is already an
improvement.

2% progression on ACID3. :^)
This commit is contained in:
Andreas Kling 2022-02-25 20:45:19 +01:00
parent c25d653c31
commit fbee0490a3
2 changed files with 34 additions and 1 deletions

View file

@ -44,6 +44,8 @@ public:
void click();
bool fire_a_synthetic_pointer_event(FlyString const& type, DOM::Element& target, bool not_trusted);
protected:
virtual void parse_attribute(const FlyString& name, const String& value) override;