1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

LibWeb: Add Document.hasFocus() stub

This always returns true for now. A proper implementation needs to check
if the document is in the focused widget within an active window.
This commit is contained in:
Andreas Kling 2022-02-03 20:06:54 +01:00
parent 90a8744823
commit 545ec334f0
3 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,8 @@ interface Document : Node {
constructor();
boolean hasFocus();
// FIXME: These attributes currently don't do anything.
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;