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

@ -33,7 +33,7 @@
interface Document : Node {
constructor();
boolean hasFocus();
[ImplementedAs=has_focus_for_bindings] boolean hasFocus();
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
attribute USVString domain;