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

LibWeb: Add DOM::Document::is_active()

This is a spec concept that means a document is the associated document
of its browsing context's active window.
This commit is contained in:
Andreas Kling 2021-09-19 12:28:22 +02:00
parent 79c2762a0d
commit 5fbd0c5ea0
2 changed files with 8 additions and 0 deletions

View file

@ -277,6 +277,7 @@ public:
bool has_a_style_sheet_that_is_blocking_scripts() const;
bool is_fully_active() const;
bool is_active() const;
NonnullRefPtr<HTML::History> history() const { return m_history; }