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

LibWeb: Implement BrowsingContext::currently_focused_area()

This is "currently focused area of a top level browsing context"
from the HTML spec.
This commit is contained in:
Andreas Kling 2022-02-06 18:45:29 +01:00
parent 83523cabda
commit 1165a94624
2 changed files with 32 additions and 0 deletions

View file

@ -104,6 +104,8 @@ public:
bool has_a_rendering_opportunity() const;
RefPtr<DOM::Node> currently_focused_area();
private:
explicit BrowsingContext(Page&, HTML::BrowsingContextContainer*);