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
commit fbee0490a3
Notes: sideshowbarker 2024-07-17 18:16:27 +09:00
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;