LibWeb: Update focus-related spec text

Corresponds to 03ab71775b

I've also split the `Document::has_focus()` method for clarity. Actually
implementing the "has focus steps" turns out to be quite involved so
I've left it for now.
This commit is contained in:
Sam Atkins 2025-04-11 16:29:06 +01:00 committed by Andreas Kling
commit 343df5d00f
Notes: github-actions[bot] 2025-04-18 09:08:26 +00:00
5 changed files with 22 additions and 18 deletions

View file

@ -547,6 +547,7 @@ public:
void unregister_viewport_client(ViewportClient&);
void inform_all_viewport_clients_about_the_current_viewport_rect();
bool has_focus_for_bindings() const;
bool has_focus() const;
bool allow_focus() const;